diff options
author | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2015-07-24 14:27:55 +0000 |
---|---|---|
committer | Szabolcs Nagy <nsz@gcc.gnu.org> | 2015-07-24 14:27:55 +0000 |
commit | cbc4d45487ba0bccc3562bb96b65419720acc13c (patch) | |
tree | 896ea75e3d7dbab124d0fec5544192e6d1be5be4 /gcc | |
parent | 349e312b4c93d5d3db61f887e401c02348b6bc2b (diff) | |
download | gcc-cbc4d45487ba0bccc3562bb96b65419720acc13c.zip gcc-cbc4d45487ba0bccc3562bb96b65419720acc13c.tar.gz gcc-cbc4d45487ba0bccc3562bb96b65419720acc13c.tar.bz2 |
[AArch64] Fix LINUX_TARGET_LINK_SPEC to be consistent with ARM
2015-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
PR target/65711
* config/aarch64/aarch64-linux.h (LINUX_TARGET_LINK_SPEC): Move
-dynamic-linker within %{!static %{!shared, and -rdynamic within
%{!static.
From-SVN: r226158
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/config/aarch64/aarch64-linux.h | 5 |
2 files changed, 10 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index aed24e7..b8a3ec8 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2015-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com> + + PR target/65711 + * config/aarch64/aarch64-linux.h (LINUX_TARGET_LINK_SPEC): Move + -dynamic-linker within %{!static %{!shared, and -rdynamic within + %{!static. + 2015-07-24 Ilya Enkovich <enkovich.gnu@gmail.com> PR ipa/66566 diff --git a/gcc/config/aarch64/aarch64-linux.h b/gcc/config/aarch64/aarch64-linux.h index 1600a32..c51c8b2 100644 --- a/gcc/config/aarch64/aarch64-linux.h +++ b/gcc/config/aarch64/aarch64-linux.h @@ -38,8 +38,9 @@ %{static:-Bstatic} \ %{shared:-shared} \ %{symbolic:-Bsymbolic} \ - %{rdynamic:-export-dynamic} \ - -dynamic-linker " GNU_USER_DYNAMIC_LINKER " \ + %{!static: \ + %{rdynamic:-export-dynamic} \ + %{!shared:-dynamic-linker " GNU_USER_DYNAMIC_LINKER "}} \ -X \ %{mbig-endian:-EB} %{mlittle-endian:-EL} \ -maarch64linux%{mabi=ilp32:32}%{mbig-endian:b}" |