Fix all linker script to handle all rodata sections
[oweals/u-boot.git] / board / esd / pmc405 / u-boot.lds
index ca615f509c124724704bc3cbadadf0160e54e94b..30c3ad944c92f0ddf0d7acf197bfaafe1f698b5d 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)   }