[Bug lto/60016] New: gcc-nm does not report static symbols
andi-gcc at firstfloor dot org
gcc-bugzilla@gcc.gnu.org
Fri Jan 31 23:58:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60016
Bug ID: 60016
Summary: gcc-nm does not report static symbols
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: lto
Assignee: unassigned at gcc dot gnu.org
Reporter: andi-gcc at firstfloor dot org
The LTO symbol table read by the linker plugin does not contain static symbols.
This is fine for the linker, but changes behavior of gcc-nm (which also uses
the linker plugin) drastically. Normally nm prints all static symbols too.
This is a problem for example if a program wants to get the full symbols for
debugging purposes.
The ltosymtab should probably add this information, but only output it for nm
More information about the Gcc-bugs
mailing list