projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32f9873
)
x86: Make the upper bound on relocated symbols closed instead of open
author
Gabe Black
<gabeblack@chromium.org>
Sat, 3 Nov 2012 11:41:25 +0000
(11:41 +0000)
committer
Simon Glass
<sjg@chromium.org>
Thu, 6 Dec 2012 22:30:41 +0000
(14:30 -0800)
This seems to be a bug.
Signed-off-by: Simon Glass <sjg@chromium.org>
arch/x86/lib/relocate.c
patch
|
blob
|
history
diff --git
a/arch/x86/lib/relocate.c
b/arch/x86/lib/relocate.c
index c0b9b2970ecac0c2e89719717ba34a6f6218b82b..23edca95269f36a7215f040fc1420e009a942541 100644
(file)
--- a/
arch/x86/lib/relocate.c
+++ b/
arch/x86/lib/relocate.c
@@
-80,7
+80,7
@@
int do_elf_reloc_fixups(void)
/* Check that the target points into .text */
if (*offset_ptr_ram >= CONFIG_SYS_TEXT_BASE &&
- *offset_ptr_ram <
+ *offset_ptr_ram <
=
(CONFIG_SYS_TEXT_BASE + size)) {
*offset_ptr_ram += gd->reloc_off;
}