Fix all linker script to handle all rodata sections
[oweals/u-boot.git] / board / esd / du405 / u-boot.lds
index 858ae61ec9e273d2c903e7733d65d1d9dc46e159..8c57905c559692318dbf8179930823a9acabff00 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)   }