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:11:45 +0000

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

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

Modified files:
    include        : ChangeLog bfdlink.h 
    bfd            : ChangeLog elflink.c linker.c simple.c 
                     xcofflink.c 
    ld             : ChangeLog ldmain.c plugin.c 

Log message:
    PR ld/12365
    include/
    * bfdlink.h (struct bfd_link_callbacks): Modify multiple_definition
    and multiple_common parameters to pass in a bfd_link_hash_entry
    pointer rather than name,bfd etc. found in the hash entry.
    bfd/
    * elflink.c (_bfd_elf_merge_symbol): Update multiple_common calls.
    * linker.c (_bfd_generic_link_add_one_symbol): Likewise.  Call
    multiple_definition regardless of allow_multiple_definition.
    * simple.c (simple_dummy_multiple_definition): Update.
    * xcofflink.c (xcoff_link_add_symbols): Update multiple_definition
    calls.
    ld/
    * ldmain.c (multiple_definition): Take a bfd_link_hash_entry
    pointer arg rather than "name", "obfd", "osec", "oval".  Add code
    removed from linker.c.  Hack around xcofflink.c oddity in
    passing NULL nbfd.
    (multiple_common): Similarly.
    * plugin.c (orig_allow_multiple_defs): Delete.
    (plugin_call_all_symbols_read): Don't twiddle allow_multiple_definition.
    (plugin_multiple_definition): Update.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/include/ChangeLog.diff?cvsroot=src&r1=1.526&r2=1.527
http://sourceware.org/cgi-bin/cvsweb.cgi/src/include/bfdlink.h.diff?cvsroot=src&r1=1.82&r2=1.83
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/ChangeLog.diff?cvsroot=src&r1=1.5308&r2=1.5309
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/elflink.c.diff?cvsroot=src&r1=1.397&r2=1.398
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/linker.c.diff?cvsroot=src&r1=1.78&r2=1.79
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/simple.c.diff?cvsroot=src&r1=1.34&r2=1.35
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/xcofflink.c.diff?cvsroot=src&r1=1.78&r2=1.79
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/ChangeLog.diff?cvsroot=src&r1=1.2316&r2=1.2317
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/ldmain.c.diff?cvsroot=src&r1=1.151&r2=1.152
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/plugin.c.diff?cvsroot=src&r1=1.30&r2=1.31

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