This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Why are dwarf2 symbols getting assigned hidden visibility?
- From: Ian Lance Taylor <iant at google dot com>
- To: John Marino <gnugcc at marino dot st>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Sat, 15 Jan 2011 20:01:38 -0800
- Subject: Re: Why are dwarf2 symbols getting assigned hidden visibility?
- References: <4D2EA5CF.90606@marino.st> <4D317D4B.8030106@marino.st>
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