projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
MPC8260: Fix compile problems with "hymod" board
[platform/kernel/u-boot.git]
/
board
/
hymod
/
u-boot.lds
diff --git
a/board/hymod/u-boot.lds
b/board/hymod/u-boot.lds
index
1592f4f
..
1309f20
100644
(file)
--- a/
board/hymod/u-boot.lds
+++ b/
board/hymod/u-boot.lds
@@
-87,13
+87,14
@@
SECTIONS
PROVIDE (erotext = .);
.reloc :
{
PROVIDE (erotext = .);
.reloc :
{
- *(.got)
_GOT2_TABLE_ = .;
_GOT2_TABLE_ = .;
- *(.got2)
+ KEEP(*(.got2))
+ KEEP(*(.got))
+ PROVIDE(_GLOBAL_OFFSET_TABLE_ = . + 4);
_FIXUP_TABLE_ = .;
*(.fixup)
}
_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 :
__fixup_entries = (. - _FIXUP_TABLE_)>>2;
.data :