]> git.sur5r.net Git - u-boot/blobdiff - board/netvia/u-boot.lds
* Patch by Matthew S. McClintock, 14 Apr 2004:
[u-boot] / board / netvia / u-boot.lds
index 35e00f4dfd5fdd995553f1424440462acd9a4ec2..14d4ba099d15f4b5e069c02d7b7de0819d7c87be 100644 (file)
@@ -63,8 +63,8 @@ SECTIONS
     lib_ppc/cache.o            (.text)
     lib_ppc/time.o             (.text)
 
-    . = env_offset;
-    common/environment.o       (.ppcenv)
+    . = DEFINED(env_offset) ? env_offset : .;
+    common/environment.o       (.text)
 
     *(.text)
     *(.fixup)
@@ -109,6 +109,11 @@ SECTIONS
   _edata  =  .;
   PROVIDE (edata = .);
 
+  __u_boot_cmd_start = .;
+  .u_boot_cmd : { *(.u_boot_cmd) }
+  __u_boot_cmd_end = .;
+
+
   __start___ex_table = .;
   __ex_table : { *(__ex_table) }
   __stop___ex_table = .;