]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - board/freescale/m5275evb/u-boot.lds
Refactor linker-generated arrays
[karo-tx-uboot.git] / board / freescale / m5275evb / u-boot.lds
index 6c2dfe8ec4f6281c47e86a7ec90c8c31c1a8703c..c18758a911449fe9927d130f07fed8951d8ae26c 100644 (file)
@@ -68,9 +68,11 @@ SECTIONS
   PROVIDE (edata = .);
 
   . = .;
-  __u_boot_cmd_start = .;
-  .u_boot_cmd : { *(.u_boot_cmd) }
-  __u_boot_cmd_end = .;
+
+  . = ALIGN(4);
+  .u_boot_list : {
+       KEEP(*(SORT(.u_boot_list*)));
+  }
 
   . = .;
   __start___ex_table = .;