This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] PR66870 PowerPC64 Enable gold linker with split stack
- From: Andreas Schwab <schwab at linux-m68k dot org>
- To: "Lynn A. Boger" <laboger at linux dot vnet dot ibm dot com>
- Cc: Matthias Klose <doko at ubuntu dot com>, Ian Lance Taylor <iant at golang dot org>, David Edelsohn <dje dot gcc at gmail dot com>, gcc-patches <gcc-patches at gcc dot gnu dot org>, Alan Modra <amodra at gmail dot com>
- Date: Sat, 10 Oct 2015 23:25:38 +0200
- Subject: Re: [PATCH] PR66870 PowerPC64 Enable gold linker with split stack
- Authentication-results: sourceware.org; auth=none
- References: <55D39752 dot 5090602 at linux dot vnet dot ibm dot com> <55D4DA0B dot 6000106 at ubuntu dot com> <55D50BBA dot 6060909 at linux dot vnet dot ibm dot com> <55DF7A72 dot 2040208 at linux dot vnet dot ibm dot com> <CAGWvnym=hEBrUUtp=ZmGNex_N92rA-ME93pXVtG638UYATNFrw at mail dot gmail dot com> <55F86277 dot 8010100 at linux dot vnet dot ibm dot com> <CAKOQZ8zQWx4oiok0FHDxOm7pX0StLJvhS5d=8YG4NM4Zrb8PDA at mail dot gmail dot com> <55FB10E7 dot 9090607 at linux dot vnet dot ibm dot com> <CAOyqgcVA_zhivM0+qRFk9bDT42Sot-HX95M1NtZjLVphZy_0vg at mail dot gmail dot com> <56101F0E dot 8000003 at ubuntu dot com> <56153C00 dot 2000209 at linux dot vnet dot ibm dot com> <561556F9 dot 8030802 at ubuntu dot com> <5616BC63 dot 3060307 at linux dot vnet dot ibm dot com> <5616D609 dot 2000400 at ubuntu dot com> <56181AD9 dot 6080501 at linux dot vnet dot ibm dot com>
"Lynn A. Boger" <laboger@linux.vnet.ibm.com> writes:
> Index: gcc/config/rs6000/sysv4.h
> ===================================================================
> --- gcc/config/rs6000/sysv4.h (revision 228653)
> +++ gcc/config/rs6000/sysv4.h (working copy)
> @@ -940,13 +940,15 @@ ncrtn.o%s"
> #undef TARGET_ASAN_SHADOW_OFFSET
> #define TARGET_ASAN_SHADOW_OFFSET rs6000_asan_shadow_offset
>
> -/* On ppc64 and ppc64le, split stack is only support for
> - 64 bit. */
> +/* On ppc64 and ppc64le, split stack is only supported for
> + 64 bit targets with a 64 bit compiler. */
> #undef TARGET_CAN_SPLIT_STACK_64BIT
> +#if defined (__64BIT__) || defined (__powerpc64__) || defined (__ppc64__)
This doesn't make sense. A target header cannot use host defines.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."