diff options
author | Joakim Tjernlund | 2011-04-20 14:22:59 +0200 |
---|---|---|
committer | Wolfgang Denk | 2011-04-20 22:03:13 +0200 |
commit | 9d8fbd1b20e262a4cfc5da4ee64aebff443d2be8 (patch) | |
tree | 149e3882228e08f5059bdb0f7898e9ccdd037a87 /board/hymod | |
parent | 73e5476e1edf1b860dbd9b5fc21ef32ac1b551ba (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/hymod')
-rw-r--r-- | board/hymod/u-boot.lds | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/hymod/u-boot.lds b/board/hymod/u-boot.lds index 1592f4f6e8c..1efa8b3237d 100644 --- a/board/hymod/u-boot.lds +++ b/board/hymod/u-boot.lds @@ -93,7 +93,7 @@ SECTIONS _FIXUP_TABLE_ = .; *(.fixup) } - __got2_entries = (_FIXUP_TABLE_ - _GOT2_TABLE_) >>2; + __got2_entries = ((_GLOBAL_OFFSET_TABLE_ - _GOT2_TABLE_) >> 2) - 1; __fixup_entries = (. - _FIXUP_TABLE_)>>2; .data : |