]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - board/amcc/yosemite/u-boot.lds
Fix all linker script to handle all rodata sections
[karo-tx-uboot.git] / board / amcc / yosemite / u-boot.lds
index c12aad7e327ebed480a1e5b7bd6a68b6578ed7c5..e31f0711843631fbe37acd70140b8e5bb7f3aaf1 100644 (file)
@@ -76,10 +76,8 @@ SECTIONS
   PROVIDE (etext = .);
   .rodata    :
   {
-    *(.rodata)
-    *(.rodata1)
-    *(.rodata.str1.4)
     *(.eh_frame)
+    *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*)))
   }
   .fini      : { *(.fini)    } =0
   .ctors     : { *(.ctors)   }
@@ -137,6 +135,7 @@ SECTIONS
    *(.dynbss)
    *(.bss)
    *(COMMON)
+   . = ALIGN(4);
   }
   _end = . ;
   PROVIDE (end = .);