]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - board/spd8xx/u-boot.lds
Refactor linker-generated arrays
[people/ms/u-boot.git] / board / spd8xx / u-boot.lds
index 950e1e6e2cb8af441c37015cab6392fc794ef77d..b2ad3434fdc028a0e8a624ca1fad80619e5646aa 100644 (file)
@@ -36,7 +36,6 @@ SECTIONS
     arch/powerpc/cpu/mpc8xx/traps.o    (.text*)
     net/libnet.o                       (.text*)
     arch/powerpc/cpu/mpc8xx/libmpc8xx.o        (.text*)
-    board/spd8xx/libspd8xx.o           (.text*)
     *(.text.v*printf)
 
     . = DEFINED(env_offset) ? env_offset : .;
@@ -76,9 +75,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*)));
+  }
 
 
   . = .;