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: r224828
This commit is contained in:
Ludovic Courtès 2015-06-23 09:16:14 +00:00 committed by Ludovic Courtès
parent 2da13f5a05
commit 2a62b047ec
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 Release Manager
* GCC 4.8.5 released.

View File

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