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