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