[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gold/17406] gold ignores --as-needed
From: |
ccoutant at google dot com |
Subject: |
[Bug gold/17406] gold ignores --as-needed |
Date: |
Wed, 17 Sep 2014 19:51:02 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=17406
Cary Coutant <ccoutant at google dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
--- Comment #1 from Cary Coutant <ccoutant at google dot com> ---
Gold isn't ignoring the --as-needed option, but it's treating the library as
"needed" if there's a reference to it anywhere on the command line. According
to the ld manual, it should be added to DT_NEEDED only if "*at that point in
the link* [it] satisfies a non-weak undefined symbol reference from a regular
object file."
--
You are receiving this mail because:
You are on the CC list for the bug.