This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: (hppa-linux) simple testcase for binutils visibility problem
On Tue, Nov 12, 2002 at 09:14:17PM -0800, 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.
>
> on the subject of tests, a lot of the ld tests are failing because they
> are linking together shared objects with non-PIC code. Not too
> surprising that they fail (basically, most of the tests in ld-elfvsb).
> i'm not quite sure what the tests are supposed to be doing,
> unfortunately. anyone want to take a look?
>
Check out setup_xfail in elfvsb.exp.
H.J.