This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: (hppa-linux) simple testcase for binutils visibility problem


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]