]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - nand_spl/board/amcc/kilauea/u-boot.lds
Fix all linker script to handle all rodata sections
[people/ms/u-boot.git] / nand_spl / board / amcc / kilauea / u-boot.lds
index 03e0b798f936d80ed4f41abaa7f1dc9bfdf82840..5a586fc7c8a66dfbb7a71f807fed3a36aa8935fc 100644 (file)
@@ -42,7 +42,7 @@ SECTIONS
 
   .data    :
   {
-    *(.rodata*)
+    *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*)))
     *(.data*)
     *(.sdata*)
     __got2_start = .;
@@ -57,6 +57,7 @@ SECTIONS
   {
    *(.sbss)
    *(.bss)
+   . = ALIGN(4);
   }
 
   _end = . ;