Commit 4d938a09 by Jason Thorpe Committed by Jason Thorpe

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
parent 1dda7ee4
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
......
......@@ -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. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment