This is the mail archive of the elfutils-devel@sourceware.org mailing list for the elfutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tools/21522] eu-strip generates empty output if there is nothing to do


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

Mark Wielaard <mark at klomp dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Mark Wielaard <mark at klomp dot org> ---
commit b58aebe71e0b4863db1b7fd3e942e36303257f3a
Author: Mark Wielaard <mark@klomp.org>
Date:   Wed Jun 7 20:32:38 2017 +0200

    strip: Don't generate empty output file when nothing to do.

    If there was nothing to do strip would skip generating a separate
    debug file if one was requested, but it would also not finish the
    creation of a new output file (with the non-stripped sections).
    Also if there was an error any partially created output would be kept.

    Make sure that when the -o output file option is given we always generate
    a complete output file (except on error). Also make sure that when the -f
    debug file option is given it is only generated when it is not empty.

    Add testcase run-strip-nothing.sh that tests the various combinations.

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

    Signed-off-by: Mark Wielaard <mark@klomp.org>

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]