]> git.sur5r.net Git - u-boot/blobdiff - board/matrix_vision/mvsmr/u-boot.lds
Merge remote-tracking branch 'u-boot-ti/master'
[u-boot] / board / matrix_vision / mvsmr / u-boot.lds
index bf2ed0485212642c7c4aa0976df677144c7216bc..5a3a9eabbfd29daf1e4b0a961f60b17fb9e377cf 100644 (file)
@@ -62,7 +62,7 @@ SECTIONS
     _FIXUP_TABLE_ = .;
     KEEP(*(.fixup))
   }
-  __got2_entries = (_FIXUP_TABLE_ - _GOT2_TABLE_) >> 2;
+  __got2_entries = ((_GLOBAL_OFFSET_TABLE_ - _GOT2_TABLE_) >> 2) - 1;
   __fixup_entries = (. - _FIXUP_TABLE_) >> 2;
 
   .data    :
@@ -74,9 +74,11 @@ SECTIONS
   PROVIDE (edata = .);
 
   . = .;
-  __u_boot_cmd_start = .;
-  .u_boot_cmd : { *(.u_boot_cmd) }
-  __u_boot_cmd_end = .;
+
+  . = ALIGN(4);
+  .u_boot_list : {
+       #include <u-boot.lst>
+  }
 
 
   . = .;