% nm --plugin $(gcc46 -print-prog-name=liblto_plugin.so) t.a
Doesn't print GCC LTO symbols, but
% GNUTARGET=plugin nm --plugin $(gcc46 -print-prog-name=liblto_plugin.so) t.a
works.
Could the need for GNUTARGET be eliminated? It makes it more complicated
to use in Makefiles and will likely fail if some objects are not using
LTO.
--
Summary: ar/nm plugin use requires GNUTARGET=plugin
Product: binutils
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: binutils
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: andi-bz at firstfloor dot org
CC: bug-binutils at gnu dot org
GCC host triplet: x86_64-linux
http://sourceware.org/bugzilla/show_bug.cgi?id=12088
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
_______________________________________________
bug-binutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-binutils