]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - nand_spl/board/amcc/kilauea/u-boot.lds
Merge branch 'master' of git://git.denx.de/u-boot-samsung
[karo-tx-uboot.git] / nand_spl / board / amcc / kilauea / u-boot.lds
index 24df32d02eeae1324af0d2103d452e5f58eb91b4..9894a105396ae1745aeb759f2addd8d48359eb55 100644 (file)
@@ -26,13 +26,12 @@ SECTIONS
 {
   .resetvec 0x00800FFC :
   {
-    *(.resetvec)
+    KEEP(*(.resetvec))
   } = 0xffff
 
   .text      :
   {
     start.o    (.text)
-    init.o     (.text)
     nand_boot.o        (.text)
     ndfc.o     (.text)
 
@@ -43,7 +42,7 @@ SECTIONS
 
   .data    :
   {
-    *(.rodata*)
+    *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*)))
     *(.data*)
     *(.sdata*)
     __got2_start = .;
@@ -54,10 +53,11 @@ SECTIONS
   _edata  =  .;
 
   __bss_start = .;
-  .bss       :
+  .bss (NOLOAD)       :
   {
    *(.sbss)
    *(.bss)
+   . = ALIGN(4);
   }
 
   _end = . ;