summaryrefslogtreecommitdiff
path: root/gcc/config/arm/linux-elf.h
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/config/arm/linux-elf.h
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/config/arm/linux-elf.h')
-rw-r--r--gcc/config/arm/linux-elf.h2
1 files changed, 1 insertions, 1 deletions
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