This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r229493 - in /branches/ibm/gcc-5-branch/gcc: co...
- From: boger at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 28 Oct 2015 16:00:47 -0000
- Subject: r229493 - in /branches/ibm/gcc-5-branch/gcc: co...
Author: boger
Date: Wed Oct 28 16:00:46 2015
New Revision: 229493
URL: https://gcc.gnu.org/viewcvs?rev=229493&root=gcc&view=rev
Log:
Backport of r229009
PR66870 PowerPC64 Enable gold linker with split stack
A powerpc-linux/powerpc64-linux biarch compiler can default to either
-m32 or -m64, and we need to notice both -m32 and -m64 on the gccgo
command line. It's also possible to build a -m64 only compiler, so in
that case we can define TARGET_CAN_SPLIT_STACK.
gcc/
PR go/66870
* config/rs6000/sysv4.h (TARGET_CAN_SPLIT_STACK_64BIT): Don't define.
* config/rs6000/linux64.h (TARGET_CAN_SPLIT_STACK): Define.
(TARGET_CAN_SPLIT_STACK_64BIT): Define.
gcc/go/
PR go/66870
* gospec.c (saw_opt_m32): Rename to..
(is_m64): ..this, initialised by TARGET_CAN_SPLIT_STACK_64BIT.
Update uses.
(lang_specific_driver): Set is_m64 if OPT_m64, clear if OPT_m32.
Modified:
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/go/gospec.c