(hppa-linux) simple testcase for binutils visibility problem
Hans-Peter Nilsson
hp@bitrange.com
Tue Nov 12 22:01:00 GMT 2002
On Tue, 12 Nov 2002, Randolph Chung wrote:
> > tc-hppa.h:tc_frob_symbol rips out unused symbols. Don't ask me why,
> > but it seems a reasonable thing to do.
>
> Alan, pardon the naive question, but why is it a 'reasonable' thing to
> do? it seems to me that you should be able to declare the visibility of
> an undefined symbol in one object, and link it with the definition of
> the symbol in another and have the visibility information 'merged' when
> the objects are linked together.
Which is in fact what gcc-3.2.x does and gcc-3.3 will do. See
gcc/mklibgcc.in, search for .hidden.
brgds, H-P
More information about the Binutils
mailing list