gcc/ * common/config/rs6000/rs6000-common.c (TARGET_SUPPORTS_SPLIT_STACK): Define. (rs6000_supports_split_stack): New function. * gcc/config/rs6000/rs6000.c (machine_function): Add split_stack_arg_pointer. (TARGET_EXTRA_LIVE_ON_ENTRY, TARGET_INTERNAL_ARG_POINTER): Define. (setup_incoming_varargs): Use crtl->args.internal_arg_pointer rather than virtual_incoming_args_rtx. (rs6000_va_start): Likewise. (split_stack_arg_pointer_used_p): New function. (rs6000_emit_prologue): Set up arg pointer for -fsplit-stack. (morestack_ref): New var. (gen_add3_const, rs6000_expand_split_stack_prologue, rs6000_internal_arg_pointer, rs6000_live_on_entry, rs6000_split_stack_space_check): New functions. (rs6000_elf_file_end): Call file_end_indicate_split_stack. * gcc/config/rs6000/rs6000.md (UNSPEC_STACK_CHECK): Define. (UNSPECV_SPLIT_STACK_RETURN): Define. (split_stack_prologue, load_split_stack_limit, load_split_stack_limit_di, load_split_stack_limit_si, split_stack_return, split_stack_space_check): New expands and insns. * gcc/config/rs6000/rs6000-protos.h (rs6000_expand_split_stack_prologue): Declare. (rs6000_split_stack_space_check): Declare. libgcc/ * config/rs6000/morestack.S: New. * config/rs6000/t-stack-rs6000: New. * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000 to tmake_file. * generic-morestack.c: Don't build for powerpc 32-bit. From-SVN: r223426
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| aarch64 | Loading commit data... | |
| alpha | Loading commit data... | |
| arc | Loading commit data... | |
| arm | Loading commit data... | |
| avr | Loading commit data... | |
| bfin | Loading commit data... | |
| c6x | Loading commit data... | |
| cr16 | Loading commit data... | |
| cris | Loading commit data... | |
| epiphany | Loading commit data... | |
| fr30 | Loading commit data... | |
| frv | Loading commit data... | |
| h8300 | Loading commit data... | |
| i386 | Loading commit data... | |
| ia64 | Loading commit data... | |
| iq2000 | Loading commit data... | |
| lm32 | Loading commit data... | |
| m32r | Loading commit data... | |
| m68k | Loading commit data... | |
| mcore | Loading commit data... | |
| mep | Loading commit data... | |
| microblaze | Loading commit data... | |
| mips | Loading commit data... | |
| mmix | Loading commit data... | |
| mn10300 | Loading commit data... | |
| msp430 | Loading commit data... | |
| nds32 | Loading commit data... | |
| nios2 | Loading commit data... | |
| nvptx | Loading commit data... | |
| pa | Loading commit data... | |
| pdp11 | Loading commit data... | |
| rs6000 | Loading commit data... | |
| rx | Loading commit data... | |
| s390 | Loading commit data... | |
| sh | Loading commit data... | |
| sparc | Loading commit data... | |
| spu | Loading commit data... | |
| tilegx | Loading commit data... | |
| tilepro | Loading commit data... | |
| v850 | Loading commit data... | |
| vax | Loading commit data... | |
| visium | Loading commit data... | |
| xstormy16 | Loading commit data... | |
| xtensa | Loading commit data... | |
| default-common.c | Loading commit data... |