]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - board/adder/u-boot.lds
Fix all linker script to handle all rodata sections
[people/ms/u-boot.git] / board / adder / u-boot.lds
index d97c04918914028f06cb337d6b5311c41b194e1a..186dfe666af520f994e111bb1c3a8e1a66b5f075 100644 (file)
@@ -57,10 +57,8 @@ SECTIONS
     *(.fixup)
     *(.got1)
     . = ALIGN(16);
-    *(.rodata)
-    *(.rodata1)
-    *(.rodata.str1.4)
     *(.eh_frame)
+    *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*)))
   }
   .fini      : { *(.fini)    } =0
   .ctors     : { *(.ctors)   }