bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/31872] Segfault in objdump (elf_slurp_reloc_table_from_sec


From: cvs-commit at gcc dot gnu.org
Subject: [Bug binutils/31872] Segfault in objdump (elf_slurp_reloc_table_from_section)
Date: Thu, 19 Dec 2024 09:40:29 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=31872

--- Comment #3 from Sourceware Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jan Beulich <jbeulich@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=2c0c13933a6d08ae87c2852b3421ede090499f09

commit 2c0c13933a6d08ae87c2852b3421ede090499f09
Author: Jan Beulich <jbeulich@suse.com>
Date:   Thu Dec 19 10:39:38 2024 +0100

    bfd/ELF: refine PR binutils/31872 fix

    The fix for PR binutils/31872 (commit b20ab53f81db) neglected the case
    of targets with only RELA support, where nevertheless object files using
    REL exist. In particular objcopy will create such objects for x86-64
    when converting from an i?86 ELF object (this by itself probably isn't
    quite right, but we ought to cope with what our own tools are doing).

    Restore the fallback to the RELA lookup, just without re-introducing the
    blind NULL de-ref that was there before.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]