]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/idmr/u-boot.lds
rename _end to __bss_end__
[karo-tx-uboot.git] / board / idmr / u-boot.lds
index c07d02383458d92cbb1fbd0f0a61ae59d3a24e29..e16a2662b65952f63f696a81c44464fc9c5398fb 100644 (file)
@@ -24,7 +24,7 @@
 OUTPUT_ARCH(m68k)
 /* Do we need any of these for elf?
    __DYNAMIC = 0;    */
-GROUP(libgcc.a)
+GROUP(libgcc.o)
 SECTIONS
 {
   /* Read-only sections, merged into text segment: */
@@ -56,14 +56,14 @@ SECTIONS
     /* WARNING - the following is hand-optimized to fit within */
     /* the sector layout of our flash chips!   XXX FIXME XXX   */
 
-    cpu/mcf52x2/start.o                (.text)
-    lib_m68k/traps.o           (.text)
-    cpu/mcf52x2/interrupts.o   (.text)
+    arch/m68k/cpu/mcf52x2/start.o              (.text)
+    arch/m68k/lib/traps.o              (.text)
+    arch/m68k/cpu/mcf52x2/interrupts.o (.text)
     common/dlmalloc.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)
     *(.fixup)
@@ -73,8 +73,7 @@ SECTIONS
   PROVIDE (etext = .);
   .rodata    :
   {
-    *(.rodata)
-    *(.rodata1)
+    *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*)))
   }
   .fini      : { *(.fini)    } =0
   .ctors     : { *(.ctors)   }
@@ -139,6 +138,6 @@ SECTIONS
    . = ALIGN(4);
    _ebss = .;
   }
-  _end = . ;
+  __bss_end__ = . ;
   PROVIDE (end = .);
 }