summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-06-23 09:16:14 +0000
committerLudovic Courtès <ludo@gcc.gnu.org>2015-06-23 09:16:14 +0000
commit2a62b047eca5859142f024c339cd2686635cf5b1 (patch)
tree07b9838114e4d52a6ae77e3709e237ffac8937aa
parent2da13f5a051c8a28a85311fea990355b4797c179 (diff)
downloadgcc-releases/gcc-4.8.tar.gz
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/ChangeLog6
-rw-r--r--gcc/config/arm/linux-elf.h2
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index a63f624e17a..1c8d1ebf1a6 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 488efa4ba15..81884234489 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