]> git.ipfire.org Git - thirdparty/gcc.git/commit
PR66870 PowerPC64 Enable gold linker with split stack
authorAlan Modra <amodra@gmail.com>
Mon, 19 Oct 2015 23:50:30 +0000 (10:20 +1030)
committerAlan Modra <amodra@gcc.gnu.org>
Mon, 19 Oct 2015 23:50:30 +0000 (10:20 +1030)
commitb2e4c071d7be806aae1a9d13190ed1a91fbb5480
treef5d8ff4dbc0bc1de9017a02daa70e6e4f5fe7f2c
parent524d9b4b9035ff69f1024ca2c32c7217128f3cf9
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.

From-SVN: r229009
gcc/ChangeLog
gcc/config/rs6000/linux64.h
gcc/config/rs6000/sysv4.h
gcc/go/ChangeLog
gcc/go/gospec.c