diff options
author | Jakub Jelinek <jakub@redhat.com> | 2017-09-14 09:56:23 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2017-09-14 09:56:23 +0200 |
commit | 8c6562e12bf7d1406474cbba832073a4afe5687c (patch) | |
tree | c36d15fa07dd1f599e60da37b986e77a2403abd0 /gcc/config/bfin | |
parent | 022aa0ce5eebafe60f20245c8ff26b60a5074dfd (diff) | |
download | gcc-8c6562e12bf7d1406474cbba832073a4afe5687c.zip gcc-8c6562e12bf7d1406474cbba832073a4afe5687c.tar.gz gcc-8c6562e12bf7d1406474cbba832073a4afe5687c.tar.bz2 |
elf.h (LINK_EH_SPEC): Add -static-pie support.
* config/alpha/elf.h (LINK_EH_SPEC): Add -static-pie support.
* config/alpha/linux.h (LINK_GCC_C_SEQUENCE_SPEC): Likewise.
* config/netbsd.h (LINK_EH_SPEC): Likewise.
* config/sol2.h (LINK_EH_SPEC): Likewise.
* config/arm/uclinux-elf.h (LINK_GCC_C_SEQUENCE_SPEC): Likewise.
* config/s390/linux.h (LINK_SPEC): Likewise.
* config/freebsd.h (LINK_EH_SPEC): Likewise.
* config/openbsd.h (LINK_EH_SPEC): Likewise.
* config/lm32/uclinux-elf.h (LINK_GCC_C_SEQUENCE_SPEC): Likewise.
* config/aarch64/aarch64-linux.h (LINUX_TARGET_LINK_SPEC): Likewise.
* config/powerpcspe/sysv4.h (LINK_EH_SPEC): Likewise.
* config/bfin/linux.h (LINK_GCC_C_SEQUENCE_SPEC): Likewise.
* config/i386/gnu-user64.h (GNU_USER_TARGET_LINK_SPEC): Fix a typo.
* config/i386/gnu-user.h (GNU_USER_TARGET_LINK_SPEC): Formatting fix.
From-SVN: r252750
Diffstat (limited to 'gcc/config/bfin')
-rw-r--r-- | gcc/config/bfin/linux.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/config/bfin/linux.h b/gcc/config/bfin/linux.h index 6236b98..bdea132 100644 --- a/gcc/config/bfin/linux.h +++ b/gcc/config/bfin/linux.h @@ -35,8 +35,9 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see #undef LINK_GCC_C_SEQUENCE_SPEC #define LINK_GCC_C_SEQUENCE_SPEC \ - "%{static:--start-group} %{mfast-fp:-lbffastfp} %G %L %{static:--end-group} \ - %{!static:%{mfast-fp:-lbffastfp} %G}" + "%{static|static-pie:--start-group} %{mfast-fp:-lbffastfp} %G %L \ + %{static|static-pie:--end-group} \ + %{!static:%{!static-pie:%{mfast-fp:-lbffastfp} %G}}" #undef CPP_SPEC #define CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{pthread:-D_REENTRANT}" |