powerpc/86xx: Rework MPC8610HPCD pci_init_board to use common FSL PCIe code
[oweals/u-boot.git] / board / purple / u-boot.lds
index 972e6e7207c9291aa053dbb1d4137c3debc40795..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
@@ -34,21 +34,21 @@ SECTIONS
        . = ALIGN(4);
        .text       :
        {
-         cpu/mips/start.o              (.text)
+         arch/mips/cpu/start.o         (.text)
          board/purple/lowlevel_init.o  (.text)
-         cpu/mips/cache.o              (.text)
+         arch/mips/cpu/cache.o         (.text)
          common/main.o                 (.text)
          common/dlmalloc.o             (.text)
          common/cmd_boot.o             (.text)
-         lib_generic/zlib.o            (.text)
+         lib/zlib.o            (.text)
          . = DEFINED(env_offset) ? env_offset : .;
-         common/environment.o  (.ppcenv)
+         common/env_embedded.o (.ppcenv)
 
          *(.text)
        }
 
        . = ALIGN(4);
-       .rodata  : { *(.rodata) }
+       .rodata  : { *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*))) }
 
        . = ALIGN(4);
        .data  : { *(.data) }
@@ -75,6 +75,6 @@ SECTIONS
 
        . = ALIGN(4);
        .sbss (NOLOAD)  : { *(.sbss) }
-       .bss (NOLOAD)  : { *(.bss) }
+       .bss (NOLOAD)  : { *(.bss) . = ALIGN(4); }
        uboot_end = .;
 }