]> git.sur5r.net Git - u-boot/blobdiff - board/netta2/u-boot.lds
Add ability for arch code to make changes before we boot
[u-boot] / board / netta2 / u-boot.lds
index f560189c0bc49897f68ab86cc35a297eed877206..14201acce1841c1fef0c2cb2e0c323252ee61e57 100644 (file)
@@ -63,7 +63,7 @@ SECTIONS
     lib_ppc/time.o             (.text)
 
     . = DEFINED(env_offset) ? env_offset : .;
-    common/environment.o       (.text)
+    common/env_embedded.o      (.text)
 
     *(.text)
     *(.fixup)
@@ -73,10 +73,8 @@ SECTIONS
   PROVIDE (etext = .);
   .rodata    :
   {
-    *(.rodata)
-    *(.rodata1)
-    *(.rodata.str1.4)
     *(.eh_frame)
+    *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*)))
   }
   .fini      : { *(.fini)    } =0
   .ctors     : { *(.ctors)   }
@@ -134,6 +132,7 @@ SECTIONS
    *(.dynbss)
    *(.bss)
    *(COMMON)
+   . = ALIGN(4);
   }
   _end = . ;
   PROVIDE (end = .);