projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cosmetic: spell fixes etc.
[oweals/u-boot.git]
/
board
/
emk
/
top860
/
u-boot.lds
diff --git
a/board/emk/top860/u-boot.lds
b/board/emk/top860/u-boot.lds
index 32dcbd3ef51304fa9b27f7f60c0a9f837c75c318..fb066486633a8b184ccd5a503ee19a64169e5d43 100644
(file)
--- a/
board/emk/top860/u-boot.lds
+++ b/
board/emk/top860/u-boot.lds
@@
-47,13
+47,14
@@
SECTIONS
PROVIDE (erotext = .);
.reloc :
{
PROVIDE (erotext = .);
.reloc :
{
- KEEP(*(.got))
_GOT2_TABLE_ = .;
KEEP(*(.got2))
_GOT2_TABLE_ = .;
KEEP(*(.got2))
+ KEEP(*(.got))
+ PROVIDE(_GLOBAL_OFFSET_TABLE_ = . + 4);
_FIXUP_TABLE_ = .;
KEEP(*(.fixup))
}
_FIXUP_TABLE_ = .;
KEEP(*(.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 :