This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
A bug in PPC dynamic linker?
- To: GNU C Library <libc-alpha at sourceware dot cygnus dot com>
- Subject: A bug in PPC dynamic linker?
- From: "H . J . Lu" <hjl at lucon dot org>
- Date: Sun, 4 Nov 2001 12:39:58 -0800
While working on a PPC binutils bug, I noticed that gcc 3.0 didn't
support shared library on Linux/PPC. I got many
./header_cstdarg: error while loading shared libraries: /home/hjl/build/tools/build-ppc-linux/gcc/libgcc_s.so.1: R_PPC_REL24 relocation at 0x0f55a904 for symbol `~C#xA¢ÿÌ~AF' out of range
when I ran "make check". Why does the PPC dynamic linker give garbage
for symbol name? The symbol is `abort'. gcc uses "bl abort" instead of
""bl abort@plt" for shared libgcc. I would expect
./header_cstdarg: error while loading shared libraries: /home/hjl/build/tools/build-ppc-linux/gcc/libgcc_s.so.1: R_PPC_REL24 relocation at 0x0f55a904 for symbol `abort' out of range
H.J.