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
This commit is contained in:
Jason Thorpe 2002-11-21 15:48:02 +00:00 committed by Jason Thorpe
parent 1dda7ee45a
commit 4d938a0912
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2002-11-21 Jason Thorpe <thorpej@wasabisystems.com>
* config/arm/elf.h (ASM_SPEC, LINK_SPEC): Pass -EL
if -mlittle-endian is specified.
2002-11-21 Richard Earnshaw <rearnsha@arm.com>
PR optimization/2903

View File

@ -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. */