[U-Boot] [PATCH 03/11] ARM: LDS remove the OUTPUT_FORMAT

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Wed Feb 25 07:11:10 CET 2009


Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
---
 board/actux1/u-boot.lds                      |    1 -
 board/actux2/u-boot.lds                      |    1 -
 board/actux3/u-boot.lds                      |    1 -
 board/evb4510/u-boot.lds                     |    1 -
 board/freescale/mx31ads/u-boot.lds           |    1 -
 board/modnet50/u-boot.lds                    |    1 -
 board/samsung/smdk6400/u-boot-nand.lds       |    1 -
 board/trab/u-boot.lds                        |    2 --
 cpu/ixp/config.mk                            |    1 +
 lib_arm/u-boot.lds.S                         |    5 -----
 nand_spl/board/samsung/smdk6400/u-boot.lds   |    1 -
 onenand_ipl/board/apollon/u-boot.onenand.lds |    1 -
 12 files changed, 1 insertions(+), 16 deletions(-)

diff --git a/board/actux1/u-boot.lds b/board/actux1/u-boot.lds
index ccdb78e..9962337 100644
--- a/board/actux1/u-boot.lds
+++ b/board/actux1/u-boot.lds
@@ -21,7 +21,6 @@
  * MA 02111-1307 USA
  */
 
-OUTPUT_FORMAT ("elf32-bigarm", "elf32-bigarm", "elf32-bigarm")
 OUTPUT_ARCH (arm)
 ENTRY (_start)
 SECTIONS
diff --git a/board/actux2/u-boot.lds b/board/actux2/u-boot.lds
index 1131936..53fc46a 100644
--- a/board/actux2/u-boot.lds
+++ b/board/actux2/u-boot.lds
@@ -21,7 +21,6 @@
  * MA 02111-1307 USA
  */
 
-OUTPUT_FORMAT ("elf32-bigarm", "elf32-bigarm", "elf32-bigarm")
 OUTPUT_ARCH (arm)
 ENTRY (_start)
 SECTIONS
diff --git a/board/actux3/u-boot.lds b/board/actux3/u-boot.lds
index e861955..7fe23e9 100644
--- a/board/actux3/u-boot.lds
+++ b/board/actux3/u-boot.lds
@@ -21,7 +21,6 @@
  * MA 02111-1307 USA
  */
 
-OUTPUT_FORMAT ("elf32-bigarm", "elf32-bigarm", "elf32-bigarm")
 OUTPUT_ARCH (arm)
 ENTRY (_start)
 SECTIONS
diff --git a/board/evb4510/u-boot.lds b/board/evb4510/u-boot.lds
index a435466..74c666e 100644
--- a/board/evb4510/u-boot.lds
+++ b/board/evb4510/u-boot.lds
@@ -21,7 +21,6 @@
  * MA 02111-1307 USA
  */
 
-OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm")
 OUTPUT_ARCH(arm)
 ENTRY(_start)
 SECTIONS
diff --git a/board/freescale/mx31ads/u-boot.lds b/board/freescale/mx31ads/u-boot.lds
index e682f30..1759662 100644
--- a/board/freescale/mx31ads/u-boot.lds
+++ b/board/freescale/mx31ads/u-boot.lds
@@ -24,7 +24,6 @@
  * MA 02111-1307 USA
  */
 
-OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm")
 OUTPUT_ARCH(arm)
 ENTRY(_start)
 SECTIONS
diff --git a/board/modnet50/u-boot.lds b/board/modnet50/u-boot.lds
index a435466..74c666e 100644
--- a/board/modnet50/u-boot.lds
+++ b/board/modnet50/u-boot.lds
@@ -21,7 +21,6 @@
  * MA 02111-1307 USA
  */
 
-OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm")
 OUTPUT_ARCH(arm)
 ENTRY(_start)
 SECTIONS
diff --git a/board/samsung/smdk6400/u-boot-nand.lds b/board/samsung/smdk6400/u-boot-nand.lds
index bd6b24f..9564c58 100644
--- a/board/samsung/smdk6400/u-boot-nand.lds
+++ b/board/samsung/smdk6400/u-boot-nand.lds
@@ -24,7 +24,6 @@
  * MA 02111-1307 USA
  */
 
-OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm")
 OUTPUT_ARCH(arm)
 ENTRY(_start)
 SECTIONS
diff --git a/board/trab/u-boot.lds b/board/trab/u-boot.lds
index bd13d13..7c59c63 100644
--- a/board/trab/u-boot.lds
+++ b/board/trab/u-boot.lds
@@ -21,8 +21,6 @@
  * MA 02111-1307 USA
  */
 
-OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm")
-/*OUTPUT_FORMAT("elf32-arm", "elf32-arm", "elf32-arm")*/
 OUTPUT_ARCH(arm)
 ENTRY(_start)
 SECTIONS
diff --git a/cpu/ixp/config.mk b/cpu/ixp/config.mk
index a71a20b..7b07602 100644
--- a/cpu/ixp/config.mk
+++ b/cpu/ixp/config.mk
@@ -28,6 +28,7 @@ PLATFORM_RELFLAGS += -fno-strict-aliasing  -fno-common -ffixed-r8 \
 	-msoft-float -mbig-endian
 
 PLATFORM_CPPFLAGS += -mbig-endian -march=armv5te -mtune=strongarm1100
+PLATFORM_LDFLAGS += -EB
 # =========================================================================
 #
 # Supply options according to compiler version
diff --git a/lib_arm/u-boot.lds.S b/lib_arm/u-boot.lds.S
index 3115df7..05504b0 100644
--- a/lib_arm/u-boot.lds.S
+++ b/lib_arm/u-boot.lds.S
@@ -23,11 +23,6 @@
 
 #include <config.h>
 
-#ifdef __ARMEB__
-OUTPUT_FORMAT("elf32-bigarm", "elf32-bigarm", "elf32-bigarm")
-#else
-OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm")
-#endif
 OUTPUT_ARCH(arm)
 ENTRY(_start)
 SECTIONS
diff --git a/nand_spl/board/samsung/smdk6400/u-boot.lds b/nand_spl/board/samsung/smdk6400/u-boot.lds
index eb8910c..b44c53c 100644
--- a/nand_spl/board/samsung/smdk6400/u-boot.lds
+++ b/nand_spl/board/samsung/smdk6400/u-boot.lds
@@ -24,7 +24,6 @@
  * MA 02111-1307 USA
  */
 
-OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm")
 OUTPUT_ARCH(arm)
 ENTRY(_start)
 SECTIONS
diff --git a/onenand_ipl/board/apollon/u-boot.onenand.lds b/onenand_ipl/board/apollon/u-boot.onenand.lds
index c8b00a1..dd86ca4 100644
--- a/onenand_ipl/board/apollon/u-boot.onenand.lds
+++ b/onenand_ipl/board/apollon/u-boot.onenand.lds
@@ -23,7 +23,6 @@
  * MA 02111-1307 USA
  */
 
-OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm")
 OUTPUT_ARCH(arm)
 ENTRY(_start)
 SECTIONS
-- 
1.5.6.5



More information about the U-Boot mailing list