bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/15146] Reference from dummy plugin symbol isn't removed


From: cvs-commit at gcc dot gnu.org
Subject: [Bug ld/15146] Reference from dummy plugin symbol isn't removed
Date: Sat, 16 Feb 2013 17:54:42 +0000

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

--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> 2013-02-16 17:54:42 UTC ---
CVSROOT:    /cvs/src
Module name:    src
Changes by:    address@hidden    2013-02-16 17:54:37

Modified files:
    ld             : ChangeLog plugin.c 
    ld/testsuite   : ChangeLog 
    ld/testsuite/ld-plugin: lto.exp 
    bfd            : ChangeLog elflink.c 
Added files:
    ld/testsuite/ld-plugin: pr15146.d pr15146a.c pr15146b.c 
                            pr15146d.c 

Log message:
    Don't add DT_NEEDED for references from the dummy bfd

    bfd/

    PR ld/15146
    * elflink.c (elf_link_add_object_symbols): Don't add DT_NEEDED
    for references from the dummy bfd.

    ld/

    PR ld/15146
    * plugin.c (plugin_notice): Replace the undefined dummy bfd with
    the real one.

    ld/testsuite/

    PR ld/15146
    * ld-plugin/pr15146.d: New file.
    * ld-plugin/pr15146a.c: Likewise.
    * ld-plugin/pr15146b.c: Likewise.
    * ld-plugin/pr15146c.c: Likewise.
    * ld-plugin/pr15146d.c: Likewise.

    * ld-plugin/lto.exp: Add tests for PR ld/15146.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/ChangeLog.diff?cvsroot=src&r1=1.2556&r2=1.2557
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/plugin.c.diff?cvsroot=src&r1=1.48&r2=1.49
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ChangeLog.diff?cvsroot=src&r1=1.1686&r2=1.1687
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-plugin/pr15146.d.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-plugin/pr15146a.c.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-plugin/pr15146b.c.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-plugin/pr15146d.c.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-plugin/lto.exp.diff?cvsroot=src&r1=1.3&r2=1.4
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/ChangeLog.diff?cvsroot=src&r1=1.5969&r2=1.5970
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/elflink.c.diff?cvsroot=src&r1=1.468&r2=1.469

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