bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/25196] binutils/strip-new: BFD (GNU Binutils) 2.33 interna


From: cvs-commit at gcc dot gnu.org
Subject: [Bug binutils/25196] binutils/strip-new: BFD (GNU Binutils) 2.33 internal error, aborting at elf.c:7256 in rewrite_elf_program_header
Date: Mon, 18 Nov 2019 11:54:01 +0000

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

--- Comment #3 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The master branch has been updated by Alan Modra <address@hidden>:

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

commit 9aea1e31371a883452e80bd96e8818289c3e6b6e
Author: Alan Modra <address@hidden>
Date:   Mon Nov 18 12:31:55 2019 +1030

    PR25196, abort in rewrite_elf_program_header

    This patch introduces a new "sorry, cannot handle this file" bfd error
    status.  The idea is to use this error in cases where bfd hasn't found
    a bfd_bad_value error, ie. an input file or set of options that are
    invalid, but rather an input file that is simply too difficult to
    process.  Typically this might happen with fuzzed object files such as
    the one in the PR, a wildly improbable core file.  Some things are
    just not worth wasting time over to fix "properly".

        PR 25196
        * bfd.c (bfd_error_type): Add bfd_error_sorry.
        (bfd_errmsgs): Likewise.
        * elf.c (rewrite_elf_program_header): Don't abort on confused
        lma/alignment.  Replace bfd_error_bad_value with bfd_error_sorry.
        (_bfd_elf_validate_reloc): Use bfd_error_sorry.
        (_bfd_elf_final_write_processing): Likewise.
        * bfd-in2.h: Regenerate.

-- 
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]