summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorludo <ludo@138bc75d-0d04-0410-961f-82ee72b054a4>2015-06-23 09:06:55 +0000
committerludo <ludo@138bc75d-0d04-0410-961f-82ee72b054a4>2015-06-23 09:06:55 +0000
commit0e8e2501bdd9e25c9d95013f7300b6faa9a1e3d6 (patch)
treebbc1ed7f3da5b0e5e75d70934f4308802636121c /gcc
parent5941b5d3779b892d267dabce135ba3949c2f1193 (diff)
downloadgcc-0e8e2501bdd9e25c9d95013f7300b6faa9a1e3d6.tar.gz
PR 65711
* config/arm/linux-elf.h (LINUX_TARGET_LINK_SPEC): Move '-dynamic-linker' within %{!shared: ...}. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@224826 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-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 b514755f19b..ee2e8d73b8a 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 Uros Bizjak <ubizjak@gmail.com>
PR target/66560
diff --git a/gcc/config/arm/linux-elf.h b/gcc/config/arm/linux-elf.h
index 6455e62489d..49ad9543f26 100644
--- a/gcc/config/arm/linux-elf.h
+++ b/gcc/config/arm/linux-elf.h
@@ -70,7 +70,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