Fix all linker script to handle all rodata sections
[oweals/u-boot.git] / board / hymod / u-boot.lds
index fdd584dd80e6724e2acc882ddd77646e3440e2cd..03fefecefbe6d7146b83195992086bbd919ab4b3 100644 (file)
@@ -75,10 +75,8 @@ SECTIONS
   PROVIDE (etext = .);
   .rodata    :
   {
-    *(.rodata)
-    *(.rodata1)
-    *(.rodata.str1.4)
     *(.eh_frame)
+    *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*)))
   }
   .fini      : { *(.fini)    } =0
   .ctors     : { *(.ctors)   }