]> git.sur5r.net Git - u-boot/blobdiff - board/c2mon/u-boot.lds
Fix all linker script to handle all rodata sections
[u-boot] / board / c2mon / u-boot.lds
index ef9a2515c585520032baaba2c994131031f9e740..61650a85fa1256dbd820077dc3ee2964e07a1d12 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)   }