]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/hymod/u-boot.lds
serial_sh: Add support Renesas SH7752
[karo-tx-uboot.git] / board / hymod / u-boot.lds
index 1efa8b3237d35b54a24db68d378b04bbd1446813..7afae0a6257e6131f04519ac79b51d5f7ee4be85 100644 (file)
@@ -87,9 +87,10 @@ SECTIONS
   PROVIDE (erotext = .);
   .reloc   :
   {
-    *(.got)
     _GOT2_TABLE_ = .;
-    *(.got2)
+    KEEP(*(.got2))
+    KEEP(*(.got))
+    PROVIDE(_GLOBAL_OFFSET_TABLE_ = . + 4);
     _FIXUP_TABLE_ = .;
     *(.fixup)
   }
@@ -109,9 +110,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>
+  }
 
 
   . = .;