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