[AArch64] Fix LINUX_TARGET_LINK_SPEC to be consistent with ARM

2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>

	PR target/65711
	* config/aarch64/aarch64-linux.h (LINUX_TARGET_LINK_SPEC): Move
	-dynamic-linker within %{!static %{!shared, and -rdynamic within
	%{!static.

From-SVN: r226158
This commit is contained in:
Szabolcs Nagy 2015-07-24 14:27:55 +00:00 committed by Szabolcs Nagy
parent 349e312b4c
commit cbc4d45487
2 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,10 @@
2015-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
PR target/65711
* config/aarch64/aarch64-linux.h (LINUX_TARGET_LINK_SPEC): Move
-dynamic-linker within %{!static %{!shared, and -rdynamic within
%{!static.
2015-07-24 Ilya Enkovich <enkovich.gnu@gmail.com>
PR ipa/66566

View File

@ -38,8 +38,9 @@
%{static:-Bstatic} \
%{shared:-shared} \
%{symbolic:-Bsymbolic} \
%{rdynamic:-export-dynamic} \
-dynamic-linker " GNU_USER_DYNAMIC_LINKER " \
%{!static: \
%{rdynamic:-export-dynamic} \
%{!shared:-dynamic-linker " GNU_USER_DYNAMIC_LINKER "}} \
-X \
%{mbig-endian:-EB} %{mlittle-endian:-EL} \
-maarch64linux%{mabi=ilp32:32}%{mbig-endian:b}"