This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
ELF visibility on PPC.
- To: Jack Howarth <howarth at bromo dot med dot uc dot edu>
- Subject: ELF visibility on PPC.
- From: "H . J . Lu" <hjl at lucon dot org>
- Date: Sat, 19 Aug 2000 11:43:01 -0700
- Cc: binutils at sourceware dot cygnus dot com
It is very strange. As far as I know, you can use a DSO with
STV_PROTECTED under glibc 2.1.3. The only problem is the incorrect
symbol definiton may be used if there is another definiton for
the protected symbol outside of the DSO. But under PPC and glibc
2.1.3, I got
# ./foo
Illegal instruction (core dumped)
# ldd foo
libfoo.so => ./libfoo.so (0x0ffdf000)
libc.so.6 => /lib/libc.so.6 (0x0fec8000)
/lib/ld.so.1 => /lib/ld.so.1 (0x30000000)
libfoo.so has a protected symbol. The only thing I can think of
is libfoo.so is corrupted somehow when STV_PROTECTED is used. I
will see what I can find out. The problem is I know very little about
PPC and my network connection to the PPC machine is VERY slow.
H.J.