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