MPC8260: Fix compile problems with "hymod" board
[platform/kernel/u-boot.git] / board / hymod / u-boot.lds
index 1efa8b3..1309f20 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)
   }