[U-Boot] [PATCH] MPC8260: Fix compile problems with "hymod" board
Wolfgang Denk
wd at denx.de
Sun May 1 16:35:06 CEST 2011
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 at denx.de>
Cc: Murray Jensen <Murray.Jensen at csiro.au>
Cc: Joakim Tjernlund <Joakim.Tjernlund at transmode.se>
---
board/hymod/u-boot.lds | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
Joakim - how comes that a patch that is declared to affect 8xx boards
only also modifies (and breaks!) a 82xx board??
Murray - can you please verify that the fix actually works on your
hardware?
diff --git a/board/hymod/u-boot.lds b/board/hymod/u-boot.lds
index 1efa8b3..1309f20 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)
}
--
1.7.4.4
More information about the U-Boot
mailing list