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