[Top][All Lists]

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

[Bug ld/17287] DT_NEEDED of unneeded libraries affects --as-needed

From: cvs-commit at gcc dot gnu.org
Subject: [Bug ld/17287] DT_NEEDED of unneeded libraries affects --as-needed
Date: Mon, 18 Aug 2014 11:10:36 +0000


--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gdb and binutils".

The branch, master has been updated
       via  1240be6b7d0a5604c4e3efe12c9e1d08ebc246be (commit)
      from  759388538d1339f6a634b2777e24f46427dd9c96 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------

commit 1240be6b7d0a5604c4e3efe12c9e1d08ebc246be
Author: Alan Modra <address@hidden>
Date:   Mon Aug 18 14:43:03 2014 +0930

    PR 17287, DT_NEEDED of unneeded libraries affects --as-needed

        PR 17287
        * elflink.c (on_needed_list): Only consider libraries that have
        been loaded.
        * ld.texinfo (--as-needed): Clarify that references from libraries
        must be from needed libraries.
        * ld-plugin/needed3.c: New file.
        * ld-elf/shared.exp: Add needed3 test.


Summary of changes:
 bfd/ChangeLog                                      |    6 ++++++
 bfd/elflink.c                                      |    3 ++-
 ld/ChangeLog                                       |    5 +++++
 ld/ld.texinfo                                      |    4 ++--
 ld/testsuite/ChangeLog                             |    5 +++++
 .../{ld-elfweak/size_main.c => ld-elf/needed3.c}   |    2 +-
 ld/testsuite/ld-elf/shared.exp                     |   12 ++++++++++++
 7 files changed, 33 insertions(+), 4 deletions(-)
 copy ld/testsuite/{ld-elfweak/size_main.c => ld-elf/needed3.c} (61%)

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]