This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] PR66870 PowerPC64 Enable gold linker with split stack


"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."


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]