MIPS: update the MIPS u-boot.lds
authorXiangfu Liu <xiangfu@openmobilefree.net>
Mon, 9 Aug 2010 15:13:43 +0000 (23:13 +0800)
committerShinya Kuribayashi <skuribay@pobox.com>
Sat, 4 Sep 2010 02:52:17 +0000 (11:52 +0900)
From the document, if set all arguments in "OUTPUT_FORMAT" to
"tradbigmips", then even add "-EL" to gcc we still get EB format.

pb1x00 is only used in Little-endian, so its default endian should be
set to LE.

Signed-off-by: Xiangfu Liu <xiangfu@openmobilefree.net>
Signed-off-by: Shinya Kuribayashi <skuribay@pobox.com>
board/dbau1x00/u-boot.lds
board/gth2/u-boot.lds
board/incaip/u-boot.lds
board/pb1x00/u-boot.lds
board/purple/u-boot.lds
board/qemu-mips/u-boot.lds
examples/standalone/mips.lds

index 9a6cd1b8a3eb912be484d1a5a54fa6f28bc97ee9..3c4fbe3ee96115954c3957892569526b934e77dd 100644 (file)
@@ -24,7 +24,7 @@
 /*
 OUTPUT_FORMAT("elf32-bigmips", "elf32-bigmips", "elf32-bigmips")
 */
-OUTPUT_FORMAT("elf32-tradbigmips", "elf32-tradbigmips", "elf32-tradbigmips")
+OUTPUT_FORMAT("elf32-tradbigmips", "elf32-tradbigmips", "elf32-tradlittlemips")
 OUTPUT_ARCH(mips)
 ENTRY(_start)
 SECTIONS
index e6eee9b45af3d9cf040c15bd905c82f7124c765d..aeb0fcc004311046c20330d8d763b4182234420a 100644 (file)
@@ -24,7 +24,7 @@
 /*
 OUTPUT_FORMAT("elf32-bigmips", "elf32-bigmips", "elf32-bigmips")
 */
-OUTPUT_FORMAT("elf32-tradbigmips", "elf32-tradbigmips", "elf32-tradbigmips")
+OUTPUT_FORMAT("elf32-tradbigmips", "elf32-tradbigmips", "elf32-tradlittlemips")
 OUTPUT_ARCH(mips)
 ENTRY(_start)
 SECTIONS
index 9a6cd1b8a3eb912be484d1a5a54fa6f28bc97ee9..3c4fbe3ee96115954c3957892569526b934e77dd 100644 (file)
@@ -24,7 +24,7 @@
 /*
 OUTPUT_FORMAT("elf32-bigmips", "elf32-bigmips", "elf32-bigmips")
 */
-OUTPUT_FORMAT("elf32-tradbigmips", "elf32-tradbigmips", "elf32-tradbigmips")
+OUTPUT_FORMAT("elf32-tradbigmips", "elf32-tradbigmips", "elf32-tradlittlemips")
 OUTPUT_ARCH(mips)
 ENTRY(_start)
 SECTIONS
index 9a6cd1b8a3eb912be484d1a5a54fa6f28bc97ee9..358cc54a8b985153f474a6b9b305b1f87b52ee80 100644 (file)
@@ -24,7 +24,7 @@
 /*
 OUTPUT_FORMAT("elf32-bigmips", "elf32-bigmips", "elf32-bigmips")
 */
-OUTPUT_FORMAT("elf32-tradbigmips", "elf32-tradbigmips", "elf32-tradbigmips")
+OUTPUT_FORMAT("elf32-tradlittlemips", "elf32-tradbigmips", "elf32-tradlittlemips")
 OUTPUT_ARCH(mips)
 ENTRY(_start)
 SECTIONS
index 1881e651c018fdd1f6b1259427330825d12060b8..542601af15ab8f3d7236635d3d6e2f5d74f71a1d 100644 (file)
@@ -24,7 +24,7 @@
 /*
 OUTPUT_FORMAT("elf32-bigmips", "elf32-bigmips", "elf32-bigmips")
 */
-OUTPUT_FORMAT("elf32-tradbigmips", "elf32-tradbigmips", "elf32-tradbigmips")
+OUTPUT_FORMAT("elf32-tradbigmips", "elf32-tradbigmips", "elf32-tradlittlemips")
 OUTPUT_ARCH(mips)
 ENTRY(_start)
 SECTIONS
index ad058caa251ff1f53f1e30404d63c74a83b3a60e..bd16786cbc6cbef33bbd2233185bb96d9605184d 100644 (file)
@@ -24,7 +24,7 @@
 /*
 OUTPUT_FORMAT("elf32-bigmips", "elf32-bigmips", "elf32-bigmips")
 */
-OUTPUT_FORMAT("elf32-tradbigmips", "elf32-tradbigmips", "elf32-tradbigmips")
+OUTPUT_FORMAT("elf32-tradbigmips", "elf32-tradbigmips", "elf32-tradlittlemips")
 OUTPUT_ARCH(mips)
 ENTRY(_start)
 SECTIONS
index 717b201a73e1436aad2298ffb69184d2fff5fc17..63a1c92ab623be8b6daa28a2dd236518fc614f11 100644 (file)
@@ -24,7 +24,7 @@
 /*
 OUTPUT_FORMAT("elf32-bigmips", "elf32-bigmips", "elf32-bigmips")
 */
-OUTPUT_FORMAT("elf32-tradbigmips", "elf32-tradbigmips", "elf32-tradbigmips")
+OUTPUT_FORMAT("elf32-tradbigmips", "elf32-tradbigmips", "elf32-tradlittlemips")
 OUTPUT_ARCH(mips)
 SECTIONS
 {