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. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils