ppc4xx: Add missing APC405 to MAKEALL
[oweals/u-boot.git] / board / trab / u-boot.lds
index 59834afb83b600fb3e23833a34647f69091640fa..cd50e85242c4af99b43ef11f65a08e57ed95cb4b 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * (C) Copyright 2002
- * Gary Jennejohn, DENX Software Engineering, <gj@denx.de>
+ * Gary Jennejohn, DENX Software Engineering, <garyj@denx.de>
  *
  * See file CREDITS for list of people who contributed to this
  * project.
@@ -27,37 +27,38 @@ OUTPUT_ARCH(arm)
 ENTRY(_start)
 SECTIONS
 {
-        . = 0x00000000;
+       . = 0x00000000;
 
-        . = ALIGN(4);
+       . = ALIGN(4);
        .text      :
        {
-         cpu/arm920t/start.o   (.text)
-         lib_arm/_udivsi3.o    (.text)
-         lib_arm/_umodsi3.o    (.text)
-         lib_generic/zlib.o    (.text)
-         lib_generic/crc32.o   (.text)
-         lib_generic/string.o  (.text)
+         arch/arm/cpu/arm920t/start.o  (.text)
+         lib/zlib.o    (.text)
+         lib/crc32.o   (.text)
+         lib/string.o  (.text)
 
-       . = env_offset;
-       common/environment.o    (.ppcenv)
+       . = DEFINED(env_offset) ? env_offset : .;
+         common/env_embedded.o (.ppcenv)
 
          *(.text)
        }
 
-        . = ALIGN(4);
-        .rodata : { *(.rodata) }
+       . = ALIGN(4);
+       .rodata : { *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*))) }
 
-        . = ALIGN(4);
-        .data : { *(.data) }
+       . = ALIGN(4);
+       .data : { *(.data) }
 
-        . = ALIGN(4);
-        .got : { *(.got) }
+       . = ALIGN(4);
+       .got : { *(.got) }
 
-       armboot_end_data = .;
+       . = .;
+       __u_boot_cmd_start = .;
+       .u_boot_cmd : { *(.u_boot_cmd) }
+       __u_boot_cmd_end = .;
 
-        . = ALIGN(4);
-        .bss : { *(.bss) }
-
-       armboot_end = .;
+       . = ALIGN(4);
+       __bss_start = .;
+       .bss (NOLOAD) : { *(.bss) . = ALIGN(4); }
+       _end = .;
 }