]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - board/esd/pmc405/u-boot.lds
Fix all linker script to handle all rodata sections
[karo-tx-uboot.git] / board / esd / pmc405 / u-boot.lds
index 87449d49a8a7fcef1972a36227b660b6fade5475..30c3ad944c92f0ddf0d7acf197bfaafe1f698b5d 100644 (file)
@@ -82,10 +82,8 @@ SECTIONS
   PROVIDE (etext = .);
   .rodata    :
   {
-    *(.rodata)
-    *(.rodata1)
-    *(.rodata.str1.4)
     *(.eh_frame)
+    *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*)))
   }
   .fini      : { *(.fini)    } =0
   .ctors     : { *(.ctors)   }
@@ -142,6 +140,7 @@ SECTIONS
    *(.dynbss)
    *(.bss)
    *(COMMON)
+   . = ALIGN(4);
   }
   _end = . ;
   PROVIDE (end = .);