if -mlittle-endian is specified.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59348
138bc75d-0d04-0410-961f-
82ee72b054a4
+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
#ifndef ASM_SPEC
#define ASM_SPEC "\
%{mbig-endian:-EB} \
+%{mlittle-endian:-EL} \
%{mcpu=*:-mcpu=%*} \
%{march=*:-march=%*} \
%{mapcs-*:-mapcs-%*} \
#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. */