ELF visibility on PPC.

H . J . Lu hjl@lucon.org
Sat Aug 19 11:43:00 GMT 2000


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.


More information about the Binutils mailing list