libc divdi3 and libgcc
Alan Modra
amodra@bigpond.net.au
Sat May 3 01:52:00 GMT 2003
On Fri, May 02, 2003 at 08:44:30AM -0700, H. J. Lu wrote:
> in my binutils. If you still have this problem, please create a small
> testcase. I will look into it.
cat > lib.s <<EOF
.data
.global x
x: .long 0
EOF
cat > lib.ver <<EOF
FOO { x; };
EOF
cat > main.s <<EOF
.text
.global _start
_start:
jmp _start
.data
.global x
.hidden x
x: .long 0
EOF
as -o lib.o lib.s
as -o main.o main.s
ld -shared -o lib.so --version-script lib.ver lib.o
ld main.o lib.so
--
Alan Modra
IBM OzLabs - Linux Technology Centre
More information about the Binutils
mailing list