]> git.sur5r.net Git - u-boot/blobdiff - board/mpl/mip405/u-boot.lds
Fix all linker script to handle all rodata sections
[u-boot] / board / mpl / mip405 / u-boot.lds
index 8714c2bdf3263801ee826e6e53d8d7b678ab7990..d71a299785b5e2988071d4ea4a895ec1ab498108 100644 (file)
@@ -89,10 +89,8 @@ SECTIONS
   PROVIDE (etext = .);
   .rodata    :
   {
-    *(.rodata)
-    *(.rodata1)
-    *(.rodata.str1.4)
     *(.eh_frame)
+    *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*)))
   }
   .fini      : { *(.fini)    } =0
   .ctors     : { *(.ctors)   }