mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-25 22:20:45 +00:00
x86: Make the upper bound on relocated symbols closed instead of open
This seems to be a bug. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
32f98735f9
commit
842d33874f
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue