This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: ELF visibility on PPC
- To: Geoff Keating <geoffk at cygnus dot com>
- Subject: Re: ELF visibility on PPC
- From: "H . J . Lu" <hjl at lucon dot org>
- Date: Sat, 19 Aug 2000 17:53:52 -0700
- Cc: Jack Howarth <howarth at bromo dot med dot uc dot edu>,libc-alpha at sourceware dot cygnus dot com
- References: <200008200048.RAA28219@localhost.cygnus.com>
On Sat, Aug 19, 2000 at 05:48:43PM -0700, Geoff Keating wrote:
>
> I looked at this with a glibc from a few days' ago CVS, gcc 2.95.2,
> and a binutils from 990713 from sourceware (did they have any
> .protected support?). I couldn't reproduce the bug, all glibc
> testcases pass except for problems in test-ifloat with complex values
> which I seem to remember are due to gcc 2.95.2.
I have sent a patch to binutils. You can take a look.
>
> Current binutils has the following results with protected visibility,
> with my 2.1.3 glibc:
>
> XFAIL: visibility (protected) (non PIC)
> XFAIL: visibility (protected) (non PIC, load offset)
> XFAIL: visibility (protected)
> XFAIL: visibility (protected) (PIC main, non PIC so)
> XFAIL: visibility (protected) (PIC main)
> PASS: visibility (protected_undef) (non PIC)
> PASS: visibility (protected_undef) (non PIC, load offset)
> PASS: visibility (protected_undef)
> PASS: visibility (protected_undef) (PIC main, non PIC so)
> PASS: visibility (protected_undef) (PIC main)
> XFAIL: visibility (protected_undef_def) (non PIC)
> XFAIL: visibility (protected_undef_def) (non PIC, load offset)
> XFAIL: visibility (protected_undef_def)
> XFAIL: visibility (protected_undef_def) (PIC main, non PIC so)
> XFAIL: visibility (protected_undef_def) (PIC main)
> FAIL: visibility (protected_weak) (non PIC)
> FAIL: visibility (protected_weak) (non PIC, load offset)
> PASS: visibility (protected_weak)
> FAIL: visibility (protected_weak) (PIC main, non PIC so)
> PASS: visibility (protected_weak) (PIC main)
Please update from sourceware and try my patch. I have fixed a bug in
testcase where -g is not used.
H.J.