bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/16811] Using strip on a sstrip'ed binary corrupts it


From: cvs-commit at gcc dot gnu.org
Subject: [Bug binutils/16811] Using strip on a sstrip'ed binary corrupts it
Date: Mon, 07 Apr 2014 05:42:41 +0000

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

--- Comment #7 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gdb and binutils".

The branch, master has been updated
       via  5063a42103f83b921b0b6899acdd5d4d920fdc36 (commit)
      from  27f0d6b4fe4888e3bb0bdc8e64af51c521fa9f1d (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=5063a42103f83b921b0b6899acdd5d4d920fdc36

commit 5063a42103f83b921b0b6899acdd5d4d920fdc36
Author: Alan Modra <address@hidden>
Date:   Mon Apr 7 13:44:50 2014 +0930

    Report an error on objcopy/strip of sectionless binaries

    All strip operations require section headers to be present, as do most
    objcopy operations.  BFD is seriously confused by objects without
    section info.  The error message added here is similar to the error
    on attempting to strip/objcopy a zero length object.

        PR binutils/16811
        * objcopy.c (copy_object): Error if no sections.

-----------------------------------------------------------------------

Summary of changes:
 binutils/ChangeLog |    5 +++++
 binutils/objcopy.c |    7 +++++++
 2 files changed, 12 insertions(+), 0 deletions(-)

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