re PR target/65711 (arm*-linux* "link" spec passes '-dynamic-linker' even for '-shared')

PR 65711
	* config/arm/linux-elf.h (LINUX_TARGET_LINK_SPEC): Move
	'-dynamic-linker' within %{!shared: ...}.

From-SVN: r224826
This commit is contained in:
Ludovic Courtès 2015-06-23 09:06:55 +00:00 committed by Ludovic Courtès
parent b837291d5a
commit bcd119b7a3
2 changed files with 7 additions and 1 deletions

View File

@ -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

View File

@ -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