]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - nand_spl/board/amcc/kilauea/u-boot.lds
Merge branch 'u-boot-imx/master' into 'u-boot-arm/master'
[karo-tx-uboot.git] / nand_spl / board / amcc / kilauea / u-boot.lds
index 084db08dd6aa65c0a73a537d3143b3e8c57555d7..0d7e6de08a166ed7358598dada1b33689648425c 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 = .;
@@ -58,7 +57,8 @@ SECTIONS
   {
    *(.sbss)
    *(.bss)
+   . = ALIGN(4);
   }
 
-  _end = . ;
+  __bss_end = . ;
 }