summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2011-05-01 04:35:06 +0000
committerWolfgang Denk <wd@denx.de>2011-05-12 19:31:05 +0200
commit9e2b51763704e32bc2556c87bf31fbdca7a53347 (patch)
treed69168dc0638ad966aa10d977357fcd07f319a75
parentf18185ab602b77d83610886d3a07f8eacfb12f23 (diff)
downloadu-boot-imx-9e2b51763704e32bc2556c87bf31fbdca7a53347.zip
u-boot-imx-9e2b51763704e32bc2556c87bf31fbdca7a53347.tar.gz
u-boot-imx-9e2b51763704e32bc2556c87bf31fbdca7a53347.tar.bz2
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>
-rw-r--r--board/hymod/u-boot.lds5
1 files changed, 3 insertions, 2 deletions
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)
}