Why are dwarf2 symbols getting assigned hidden visibility?

Ian Lance Taylor iant@google.com
Sun Jan 16 04:01:00 GMT 2011


John Marino <gnugcc@marino.st> writes:

> Could the inability of NetBSD assembler support .weakref be the
> explanation for the unwind symbols to be marked as hidden on the gnat1
> executable even though they are marked as global on their individual
> object files?

That a look at the libraries from which the gnat1 executable is pulling
in the symbols, and see how the symbols are marked there.  That is, it
is the .so that matters, not the .o.  And the .so may be being changed
due to a version script.

Ian



More information about the Gcc-help mailing list