diff options
author | Ludovic Courtès <ludo@gnu.org> | 2015-06-23 09:16:14 +0000 |
---|---|---|
committer | Ludovic Courtès <ludo@gcc.gnu.org> | 2015-06-23 09:16:14 +0000 |
commit | 2a62b047eca5859142f024c339cd2686635cf5b1 (patch) | |
tree | 07b9838114e4d52a6ae77e3709e237ffac8937aa | |
parent | 2da13f5a051c8a28a85311fea990355b4797c179 (diff) | |
download | gcc-releases/gcc-4.8.zip gcc-releases/gcc-4.8.tar.gz gcc-releases/gcc-4.8.tar.bz2 |
re PR target/65711 (arm*-linux* "link" spec passes '-dynamic-linker' even for '-shared')releases/gcc-4.8
PR 65711
* config/arm/linux-elf.h (LINUX_TARGET_LINK_SPEC): Move
'-dynamic-linker' within %{!shared: ...}.
From-SVN: r224828
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/arm/linux-elf.h | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a63f624..1c8d1eb 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2015-06-23 Ludovic Courtès <ludo@gnu.org> + + PR 65711 + * config/arm/linux-elf.h (LINUX_TARGET_LINK_SPEC): Move + '-dynamic-linker' within %{!shared: ...}. + 2015-06-23 Release Manager * GCC 4.8.5 released. diff --git a/gcc/config/arm/linux-elf.h b/gcc/config/arm/linux-elf.h index 488efa4..8188423 100644 --- a/gcc/config/arm/linux-elf.h +++ b/gcc/config/arm/linux-elf.h @@ -65,7 +65,7 @@ %{symbolic:-Bsymbolic} \ %{!static: \ %{rdynamic:-export-dynamic} \ - -dynamic-linker " GNU_USER_DYNAMIC_LINKER "} \ + %{!shared:-dynamic-linker " GNU_USER_DYNAMIC_LINKER "}} \ -X \ %{mbig-endian:-EB} %{mlittle-endian:-EL}" \ SUBTARGET_EXTRA_LINK_SPEC |