]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - board/freescale/m5272c3/u-boot.lds
Fix all linker script to handle all rodata sections
[people/ms/u-boot.git] / board / freescale / m5272c3 / u-boot.lds
index 8420c91a7c6afcd344d92fc9144859396407d595..9d20b228cb9293c02465fd4123db757a2c13a45e 100644 (file)
@@ -62,7 +62,7 @@ SECTIONS
     lib_generic/zlib.o         (.text)
 
     . = DEFINED(env_offset) ? env_offset : .;
-    common/environment.o       (.text)
+    common/env_embedded.o      (.text)
 
     *(.text)
     *(.fixup)
@@ -72,8 +72,7 @@ SECTIONS
   PROVIDE (etext = .);
   .rodata    :
   {
-    *(.rodata)
-    *(.rodata1)
+    *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*)))
   }
   .fini      : { *(.fini)    } =0
   .ctors     : { *(.ctors)   }