]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - board/munices/u-boot.lds
Fix all linker script to handle all rodata sections
[people/ms/u-boot.git] / board / munices / u-boot.lds
index e9b3be8ea3b7b30c09038fe241c6d50c02d8af99..5fe8707fb57b824be8df3489675aa21b0991c0b7 100644 (file)
@@ -57,9 +57,7 @@ SECTIONS
     *(.fixup)
     *(.got1)
     . = ALIGN(16);
-    *(.rodata)
-    *(.rodata1)
-    *(.rodata.str1.4)
+    *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*)))
   }
   .fini      : { *(.fini)    } =0
   .ctors     : { *(.ctors)   }
@@ -116,6 +114,7 @@ SECTIONS
    *(.dynbss)
    *(.bss)
    *(COMMON)
+   . = ALIGN(4);
   }
   _end = . ;
   PROVIDE (end = .);