bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/12365] undefined references produced by linker plugin are silent


From: cvs-commit at gcc dot gnu.org
Subject: [Bug ld/12365] undefined references produced by linker plugin are silently ignored
Date: Wed, 20 Apr 2011 00:22:56 +0000

http://sourceware.org/bugzilla/show_bug.cgi?id=12365

--- Comment #8 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> 2011-04-20 00:22:11 UTC ---
CVSROOT:    /cvs/src
Module name:    src
Changes by:    address@hidden    2011-04-20 00:22:09

Modified files:
    bfd            : ChangeLog elfcode.h elflink.c linker.c 
    ld             : ChangeLog ldfile.c ldmain.c plugin.c plugin.h 

Log message:
    PR ld/12365
    bfd/
    * elfcode.h (elf_slurp_symbol_table): Put common plugin IR symbols
    in their own common section.
    * elflink.c (elf_link_add_object_symbols): Likewise.
    * linker.c (generic_link_check_archive_element): Don't lose flags
    if common section is pre-existing.
    (_bfd_generic_link_add_one_symbol): Likewise.
    ld/
    * ldfile.c (ldfile_try_open_bfd): Move code creating and switching
    to plugin IR BFD..
    * ldmain.c (add_archive_element): ..and similar code here..
    * plugin.c (plugin_maybe_claim): ..to here.  New function.
    (plugin_call_claim_file): Make static.
    (asymbol_from_plugin_symbol): Set ELF st_shndx for common syms.
    (plugin_multiple_common): New function.
    (plugin_call_all_symbols_read): Hook in plugin_multiple_common.
    * plugin.h (plugin_call_claim_file): Don't declare.
    (plugin_maybe_claim): Declare.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/ChangeLog.diff?cvsroot=src&r1=1.5309&r2=1.5310
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/elfcode.h.diff?cvsroot=src&r1=1.105&r2=1.106
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/elflink.c.diff?cvsroot=src&r1=1.398&r2=1.399
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/linker.c.diff?cvsroot=src&r1=1.79&r2=1.80
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/ChangeLog.diff?cvsroot=src&r1=1.2317&r2=1.2318
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/ldfile.c.diff?cvsroot=src&r1=1.62&r2=1.63
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/ldmain.c.diff?cvsroot=src&r1=1.152&r2=1.153
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/plugin.c.diff?cvsroot=src&r1=1.31&r2=1.32
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/plugin.h.diff?cvsroot=src&r1=1.8&r2=1.9

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- 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]