]> git.sur5r.net Git - u-boot/blobdiff - board/amcc/canyonlands/u-boot.lds
Fix all linker script to handle all rodata sections
[u-boot] / board / amcc / canyonlands / u-boot.lds
index 1783bc73f9e2dcac7a3d3c0c93bc0a0a63bc1b52..b768532e2bb5d7832fc127116575161b12f60af8 100644 (file)
@@ -76,9 +76,7 @@ SECTIONS
   PROVIDE (etext = .);
   .rodata    :
   {
-    *(.rodata)
-    *(.rodata1)
-    *(.rodata.str1.4)
+    *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*)))
   }
   .fini      : { *(.fini)    } =0
   .ctors     : { *(.ctors)   }
@@ -136,6 +134,7 @@ SECTIONS
    *(.dynbss)
    *(.bss)
    *(COMMON)
+   . = ALIGN(4);
   }
 
   _end = . ;