|
@@ -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;
|
|
}
|
|
}
|