powerpc/p2041rdb: Add ethernet support on P2041RDB board
[oweals/u-boot.git] / board / freescale / m5282evb / u-boot.lds
index dd2666b764f16c0a38e035c4cdcb3a372ca112a0..7e6aa6aeef567a81823d031aa80e9dfce8920b76 100644 (file)
@@ -55,15 +55,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)
+    arch/m68k/cpu/mcf52x2/start.o      (.text)
     common/dlmalloc.o  (.text)
-    lib_generic/string.o       (.text)
-    lib_generic/vsprintf.o     (.text)
-    lib_generic/crc32.o        (.text)
-    lib_generic/zlib.o (.text)
+    lib/string.o       (.text)
+    lib/vsprintf.o     (.text)
+    lib/crc32.o        (.text)
 
-/*    . = env_offset; */
-    common/environment.o(.text)
+    . = DEFINED(env_offset) ? env_offset : .;
+    common/env_embedded.o(.text)
 
     *(.text)
     *(.fixup)
@@ -73,8 +72,7 @@ SECTIONS
   PROVIDE (etext = .);
   .rodata    :
   {
-    *(.rodata)
-    *(.rodata1)
+    *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*)))
   }
   .fini      : { *(.fini)    } =0
   .ctors     : { *(.ctors)   }
@@ -137,6 +135,6 @@ SECTIONS
    . = ALIGN(4);
    _ebss = .;
   }
-  _end = . ;
+  __bss_end__ = . ;
   PROVIDE (end = .);
 }