[AArch64] Define BE loader name.

2014-01-20  Marcus Shawcroft  <marcus.shawcroft@arm.com>

	    * config/aarch64/aarch64-linux.h (GLIBC_DYNAMIC_LINKER): Expand
	    loader name using mbig-endian.
	    (LINUX_TARGET_LINK_SPEC): Pass linker -m flag.

From-SVN: r206845
This commit is contained in:
Marcus Shawcroft 2014-01-20 17:41:54 +00:00 committed by Marcus Shawcroft
parent 43417b90cf
commit eee0e4879f
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2014-01-20 Marcus Shawcroft <marcus.shawcroft@arm.com>
* config/aarch64/aarch64-linux.h (GLIBC_DYNAMIC_LINKER): Expand
loader name using mbig-endian.
(LINUX_TARGET_LINK_SPEC): Pass linker -m flag.
2014-01-20 James Greenhalgh <james.greenhalgh@arm.com>
* doc/invoke.texi (-march): Clarify documentation for AArch64.

View File

@ -21,7 +21,7 @@
#ifndef GCC_AARCH64_LINUX_H
#define GCC_AARCH64_LINUX_H
#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux-aarch64.so.1"
#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux-aarch64%{mbig-endian:_be}.so.1"
#define CPP_SPEC "%{pthread:-D_REENTRANT}"
@ -32,7 +32,8 @@
%{rdynamic:-export-dynamic} \
-dynamic-linker " GNU_USER_DYNAMIC_LINKER " \
-X \
%{mbig-endian:-EB} %{mlittle-endian:-EL}"
%{mbig-endian:-EB} %{mlittle-endian:-EL} \
-maarch64linux%{mbig-endian:b}"
#define LINK_SPEC LINUX_TARGET_LINK_SPEC