bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/19547] strip --strip-unneeded adds back section symbols


From: cvs-commit at gcc dot gnu.org
Subject: [Bug binutils/19547] strip --strip-unneeded adds back section symbols
Date: Tue, 02 Feb 2016 11:35:42 +0000

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

--- Comment #16 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The master branch has been updated by H.J. Lu <address@hidden>:

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

commit 14f2c699ddca1e2f706342dffc59a6c7e23e844c
Author: H.J. Lu <address@hidden>
Date:   Tue Feb 2 03:30:21 2016 -0800

    Clear HAS_RELOC if there are no relocations

    The HAS_RELOC bit should be cleared when relocations are removed from
    relocatable files.

    bfd/

        PR binutils/19547
        * elf.c (assign_section_numbers): Clear HAS_RELOC if there are
        no relocations in relocatable files.

    binutils/

        PR binutils/19547
        * testsuite/binutils-all/objcopy.exp
        (objcopy_test_without_global_symbol): New proc.
        Run objcopy_test_without_global_symbol.
        * testsuite/binutils-all/pr19547.c: New file.

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