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

--- Comment #16 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The master branch has been updated by Nick Clifton <ni...@sourceware.org>:

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

commit 4153b6dbb0f38a16fd5b583761aa811212fbb9a5
Author: Nick Clifton <ni...@redhat.com>
Date:   Tue Mar 22 12:25:08 2016 +0000

    Improve COFF/PE linker garbage collection by preventing the removal of
sections containing exported symbols.

        PR ld/19803
        * ldlang.c (lang_add_gc_name): New function.  Adds the provided
        symbol name to the list of gc symbols.
        (lang_process): Call lang_add_gc_name with entry_symbol_default if
        entry_symbol.name is NULL.  Use lang_add_gc_name to add the init
        and fini function names.
        * pe-dll.c (process_def_file_and_drectve): Add exported names to
        the gc symbol list.
        * testsuite/ld-pe/pr19803.s: Do not export _testval symbol.
        * testsuite/ld-pe/pr19803.d: Tweak expected output.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to