]> git.sur5r.net Git - u-boot/commitdiff
MPC8260: Fix compile problems with "hymod" board
authorWolfgang Denk <wd@denx.de>
Sun, 1 May 2011 04:35:06 +0000 (04:35 +0000)
committerWolfgang Denk <wd@denx.de>
Thu, 12 May 2011 17:31:05 +0000 (19:31 +0200)
Commit 9d8fbd1 "powerpc, 8xx: Fixup all 8xx u-boot.lds scripts" broke
building of the MPC8260 based "hymod" board.  Fix this.

Signed-off-by: Wolfgang Denk <wd@denx.de>
Cc: Murray Jensen <Murray.Jensen@csiro.au>
Cc: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
board/hymod/u-boot.lds

index 1efa8b3237d35b54a24db68d378b04bbd1446813..1309f209de546de73d85c6ef9b799d1b8cebdedf 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)
   }