From 2f66722d5578761036ef07bf98897e2d119dbf10 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Mon, 13 Sep 1999 06:45:15 +0000 Subject: Hackery to handle ix86 "jmp constant" as a pc-relative jump to the given absolute address. --- bfd/elfcode.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bfd/elfcode.h') diff --git a/bfd/elfcode.h b/bfd/elfcode.h index d98c07a..1f75fb0 100644 --- a/bfd/elfcode.h +++ b/bfd/elfcode.h @@ -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; -- cgit v1.1