From 9e2b51763704e32bc2556c87bf31fbdca7a53347 Mon Sep 17 00:00:00 2001 From: Wolfgang Denk Date: Sun, 1 May 2011 04:35:06 +0000 Subject: [PATCH] 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 Cc: Murray Jensen Cc: Joakim Tjernlund --- board/hymod/u-boot.lds | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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) } -- 2.39.5