Refactor linker-generated arrays
[oweals/u-boot.git] / arch / powerpc / cpu / mpc512x / u-boot.lds
index 7a4d9270dfa10a80c0fd9efb4d27f3fe9fd5fe43..a34501b6315c1576f8b0604482cf33f42629123c 100644 (file)
@@ -57,9 +57,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*)));
+  }
 
 
   . = .;