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