From: Wolfgang Denk <wd@denx.de> Date: Sun, 1 May 2011 04:35:06 +0000 (+0000) Subject: MPC8260: Fix compile problems with "hymod" board X-Git-Tag: v2025.01-rc5-pxa1908~19467 X-Git-Url: http://git.dujemihanovic.xyz/img/%7B%7B%20.RelPermalink%20%7D%7D?a=commitdiff_plain;h=9e2b51763704e32bc2556c87bf31fbdca7a53347;p=u-boot.git MPC8260: Fix compile problems with "hymod" board 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> --- diff --git a/board/hymod/u-boot.lds b/board/hymod/u-boot.lds index 1efa8b3237..1309f209de 100644 --- a/board/hymod/u-boot.lds +++ b/board/hymod/u-boot.lds @@ -87,9 +87,10 @@ SECTIONS PROVIDE (erotext = .); .reloc : { - *(.got) _GOT2_TABLE_ = .; - *(.got2) + KEEP(*(.got2)) + KEEP(*(.got)) + PROVIDE(_GLOBAL_OFFSET_TABLE_ = . + 4); _FIXUP_TABLE_ = .; *(.fixup) }