Skip to content
Snippets Groups Projects
Commit 842d3387 authored by Gabe Black's avatar Gabe Black Committed by Simon Glass
Browse files

x86: Make the upper bound on relocated symbols closed instead of open


This seems to be a bug.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent 32f98735
No related branches found
No related tags found
No related merge requests found
...@@ -80,7 +80,7 @@ int do_elf_reloc_fixups(void) ...@@ -80,7 +80,7 @@ int do_elf_reloc_fixups(void)
/* Check that the target points into .text */ /* Check that the target points into .text */
if (*offset_ptr_ram >= CONFIG_SYS_TEXT_BASE && if (*offset_ptr_ram >= CONFIG_SYS_TEXT_BASE &&
*offset_ptr_ram < *offset_ptr_ram <=
(CONFIG_SYS_TEXT_BASE + size)) { (CONFIG_SYS_TEXT_BASE + size)) {
*offset_ptr_ram += gd->reloc_off; *offset_ptr_ram += gd->reloc_off;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment