diff options
author | Jason Thorpe <thorpej@wasabisystems.com> | 2002-11-21 15:48:02 +0000 |
---|---|---|
committer | Jason Thorpe <thorpej@gcc.gnu.org> | 2002-11-21 15:48:02 +0000 |
commit | 4d938a09129480cd0e107e8afa74ef95b5a3fae9 (patch) | |
tree | 0797233e28cb945cd3f20ddb1e333a40302d3949 /gcc/config/arm/elf.h | |
parent | 1dda7ee45a250719a8c25828ae5f9b189a2251a2 (diff) | |
download | gcc-4d938a09129480cd0e107e8afa74ef95b5a3fae9.tar.gz |
elf.h (ASM_SPEC, LINK_SPEC): Pass -EL if -mlittle-endian is specified.
* config/arm/elf.h (ASM_SPEC, LINK_SPEC): Pass -EL
if -mlittle-endian is specified.
From-SVN: r59348
Diffstat (limited to 'gcc/config/arm/elf.h')
-rw-r--r-- | gcc/config/arm/elf.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/config/arm/elf.h b/gcc/config/arm/elf.h index 6d86476457c..4813f38f61b 100644 --- a/gcc/config/arm/elf.h +++ b/gcc/config/arm/elf.h @@ -46,6 +46,7 @@ Boston, MA 02111-1307, USA. */ #ifndef ASM_SPEC #define ASM_SPEC "\ %{mbig-endian:-EB} \ +%{mlittle-endian:-EL} \ %{mcpu=*:-mcpu=%*} \ %{march=*:-march=%*} \ %{mapcs-*:-mapcs-%*} \ @@ -91,7 +92,7 @@ Boston, MA 02111-1307, USA. */ #define JUMP_TABLES_IN_TEXT_SECTION (TARGET_ARM) #ifndef LINK_SPEC -#define LINK_SPEC "%{mbig-endian:-EB} -X" +#define LINK_SPEC "%{mbig-endian:-EB} %{mlittle-endian:-EL} -X" #endif /* Run-time Target Specification. */ |