[PATCH] PR66870 PowerPC64 Enable gold linker with split stack

David Edelsohn dje.gcc@gmail.com
Fri Sep 18 12:59:00 GMT 2015


On Thu, Sep 17, 2015 at 3:13 PM, Lynn A. Boger
<laboger@linux.vnet.ibm.com> wrote:
> Here is my updated patch, with the changes suggested by
> Ian for gcc/gospec.c and David for gcc/configure.ac.
>
> Bootstrap built and tested on ppc64le, ppc64 multilib.
>
> 2015-09-17    Lynn Boger <laboger@linux.vnet.ibm.com>
> gcc/
>             PR target/66870
>             config/rs6000/sysv4.h:  Define TARGET_CAN_SPLIT_STACK_64BIT
>             config.in:  Set up HAVE_GOLD_ALTERNATE_SPLIT_STACK
>             configure.ac:  Define HAVE_GOLD_ALTERNATE_SPLIT_STACK
>             on Power based on gold linker version
>             configure:  Regenerate
>             gcc.c:  Add -fuse-ld=gold to STACK_SPLIT_SPEC if
>             HAVE_GOLD_ALTERNATE_SPLIT_STACK defined
>             go/gospec.c:  (lang_specific_driver):  Set appropriate split
> stack
>             options for 64 bit compiles based on
> TARGET_CAN_SPLIT_STACK_64BIT

The rs6000 bits are okay with me.

Ian needs to approve the go bits.  And Ian or a configure maintainer
needs to approve the other bits.

Thanks, David



More information about the Gcc-patches mailing list