aboutsummaryrefslogtreecommitdiff
path: root/board/ep88x
diff options
context:
space:
mode:
authorJoakim Tjernlund2011-04-20 14:22:59 +0200
committerWolfgang Denk2011-04-20 22:03:13 +0200
commit9d8fbd1b20e262a4cfc5da4ee64aebff443d2be8 (patch)
tree149e3882228e08f5059bdb0f7898e9ccdd037a87 /board/ep88x
parent73e5476e1edf1b860dbd9b5fc21ef32ac1b551ba (diff)
powerpc, 8xx: Fixup all 8xx u-boot.lds scripts
8xx was left behind when fixing up powerpc linking scripts to support -fpic. Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
Diffstat (limited to 'board/ep88x')
-rw-r--r--board/ep88x/u-boot.lds3
1 files changed, 2 insertions, 1 deletions
diff --git a/board/ep88x/u-boot.lds b/board/ep88x/u-boot.lds
index e2dd1c20f2c..332b35a57d6 100644
--- a/board/ep88x/u-boot.lds
+++ b/board/ep88x/u-boot.lds
@@ -43,9 +43,10 @@ SECTIONS
PROVIDE (erotext = .);
.reloc :
{
- KEEP(*(.got))
_GOT2_TABLE_ = .;
KEEP(*(.got2))
+ KEEP(*(.got))
+ PROVIDE(_GLOBAL_OFFSET_TABLE_ = . + 4);
_FIXUP_TABLE_ = .;
KEEP(*(.fixup))
}