diff options
author | Alan Modra <amodra@gmail.com> | 1999-09-13 06:45:15 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 1999-09-13 06:45:15 +0000 |
commit | 2f66722d5578761036ef07bf98897e2d119dbf10 (patch) | |
tree | e51672933b983048d8a14f08f2bbf7d135fe26e4 /bfd/elfcode.h | |
parent | 9169713a19c18ec43b3cf831daecc1aa68361724 (diff) | |
download | gdb-2f66722d5578761036ef07bf98897e2d119dbf10.zip gdb-2f66722d5578761036ef07bf98897e2d119dbf10.tar.gz gdb-2f66722d5578761036ef07bf98897e2d119dbf10.tar.bz2 |
Hackery to handle ix86 "jmp constant" as a pc-relative jump to the given
absolute address.
Diffstat (limited to 'bfd/elfcode.h')
-rw-r--r-- | bfd/elfcode.h | 3 |
1 files changed, 2 insertions, 1 deletions
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; |