]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
elf.h (ASM_SPEC, LINK_SPEC): Pass -EL if -mlittle-endian is specified.
authorJason Thorpe <thorpej@wasabisystems.com>
Thu, 21 Nov 2002 15:48:02 +0000 (15:48 +0000)
committerJason Thorpe <thorpej@gcc.gnu.org>
Thu, 21 Nov 2002 15:48:02 +0000 (15:48 +0000)
* config/arm/elf.h (ASM_SPEC, LINK_SPEC): Pass -EL
if -mlittle-endian is specified.

From-SVN: r59348

gcc/ChangeLog
gcc/config/arm/elf.h

index 14ea9a2a684e82feddde269147748c42bae24835..5b474d54947e14ab32e819ebad9242c21c2cf9e8 100644 (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
index 6d86476457ca62136b62fb762ed205c625bf0c0b..4813f38f61be5522583fa7a4a90ce5cb761472a4 100644 (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.  */