Fix all linker script to handle all rodata sections
[oweals/u-boot.git] / board / freescale / m5275evb / u-boot.lds
index a3e03d556c337d76db654af2dd4005e025778185..daf8724ae2eb0f0595a6f4912aa49e72fa64fa83 100644 (file)
@@ -71,8 +71,7 @@ SECTIONS
   PROVIDE (etext = .);
   .rodata    :
   {
-    *(.rodata)
-    *(.rodata1)
+    *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*)))
   }
   .fini      : { *(.fini)    } =0
   .ctors     : { *(.ctors)   }