https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66870
--- Comment #31 from boger at gcc dot gnu.org --- Author: boger Date: Thu Oct 8 19:21:45 2015 New Revision: 228623 URL: https://gcc.gnu.org/viewcvs?rev=228623&root=gcc&view=rev Log: Backport of rev 228311 PR target/66870 * config/rs6000/sysv4.h (TARGET_CAN_SPLIT_STACK_64BIT): Define. * configure.ac: Define HAVE_GOLD_ALTERNATE_SPLIT_STACK on Power based on gold linker version. * gcc.c: Add -fuse-ld=gold to STACK_SPLIT_SPEC if HAVE_GOLD_ALTERNATE_SPLIT_STACK defined. * configure, config.in: Regenerate. go: * gospec.c (lang_specific_driver): Set appropriate split stack options for 64 bit compiles based on TARGET_CAN_SPLIT_STACK_64BIT. Modified: branches/ibm/gcc-5-branch/gcc/config.in branches/ibm/gcc-5-branch/gcc/config/rs6000/linux64.h branches/ibm/gcc-5-branch/gcc/config/rs6000/sysv4.h branches/ibm/gcc-5-branch/gcc/configure branches/ibm/gcc-5-branch/gcc/configure.ac branches/ibm/gcc-5-branch/gcc/gcc.c branches/ibm/gcc-5-branch/gcc/go/gospec.c