http://sourceware.org/bugzilla/show_bug.cgi?id=12374
Summary: ld fails to convert global hidden symbols to local
ones
Product: binutils
Version: 2.21
Status: NEW
Severity: normal
Priority: P2
Component: ld
AssignedTo: unassig...@sources.redhat.com
ReportedBy: jbeul...@novell.com
Created attachment 5183
--> http://sourceware.org/bugzilla/attachment.cgi?id=5183
trivial example
The version of the spec I have says "A hidden symbol contained in a relocatable
object must be either removed or converted to STB_LOCAL binding by the
link-editor when the relocatable object is included in an executable file or
shared object." Nevertheless I see global hidden symbols in executables.
Attaching a trivial sample, to be run through
as -o hidden.o hidden.s
ld -o hidden hidden.o
objdump -t hidden
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.
___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils