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]

ELF visibility on PPC.


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.

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