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