Fix all linker script to handle all rodata sections
[oweals/u-boot.git] / board / esd / apc405 / u-boot.lds
index 9697cc6b35d2373a0db1d386f680f5e85d71d56d..9af2c09837d595e578a23bd98921dadc09536e1a 100644 (file)
@@ -82,10 +82,8 @@ SECTIONS
   PROVIDE (etext = .);
   .rodata    :
   {
-    *(.rodata)
-    *(.rodata1)
-    *(.rodata.str1.4)
     *(.eh_frame)
+    *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*)))
   }
   .fini      : { *(.fini)    } =0
   .ctors     : { *(.ctors)   }