Hackery to handle ix86 "jmp constant" as a pc-relative jump to the given

absolute address.
This commit is contained in:
Alan Modra
1999-09-13 06:45:15 +00:00
parent 9169713a19
commit 2f66722d55
4 changed files with 63 additions and 106 deletions

View File

@@ -871,7 +871,8 @@ write_relocs (abfd, sec, data)
last_sym_idx = n;
}
if ((*ptr->sym_ptr_ptr)->the_bfd->xvec != abfd->xvec
if ((*ptr->sym_ptr_ptr)->the_bfd != NULL
&& (*ptr->sym_ptr_ptr)->the_bfd->xvec != abfd->xvec
&& ! _bfd_elf_validate_reloc (abfd, ptr))
{
*failedp = true;