This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: Versioning mess proved!!!
- To: Franz Sirl <Franz dot Sirl-kernel at lauterbach dot com>
- Subject: Re: Versioning mess proved!!!
- From: Christian Iseli <chris at ludwig-alpha dot unil dot ch>
- Date: Tue, 03 Oct 2000 22:03:13 +0200
- cc: Geoff Keating <geoffk at cygnus dot com>, drepper at cygnus dot com, philb at gnu dot org, howarth at fuse dot net, libc-alpha at sourceware dot cygnus dot com, aj at suse dot de
Franz.Sirl-kernel@lauterbach.com said:
> If you change the last compile command to:
> gcc tA-22.c -fpic -Wl,-v -L213 -ltB -o tA
$ gcc tA-22.c -fpic -Wl,-v -L213 -ltB -o tA
collect2 version 2.96 20000929 (experimental) (Alpha GNU/Linux for ELF)
/usr/bin/ld -m elf64alpha -O1 -dynamic-linker /lib/ld-linux.so.2 -o tA
/usr/lib/gcc-lib/alpha-redhat-linux/2.96/../../../crt1.o
/usr/lib/gcc-lib/alpha-redhat-linux/2.96/../../../crti.o
/usr/lib/gcc-lib/alpha-redhat-linux/2.96/crtbegin.o -L213
-L/usr/lib/gcc-lib/alpha-redhat-linux/2.96
-L/usr/lib/gcc-lib/alpha-redhat-linux/2.96/../../.. /tmp/ccjNsAta.o
-v -ltB -lgcc -lc -lgcc /usr/lib/gcc-lib/alpha-redhat-linux/2.96/crtend.o
/usr/lib/gcc-lib/alpha-redhat-linux/2.96/../../../crtn.o
GNU ld version 2.10.91 (with BFD 2.10.0.26)
> (added -fpic), what does objdump/readelf tell you?
$ objdump -xTR tA|grep foo
0000000000000000 w F *UND* 0000000000000024 0x80 foo
0000000000000000 w DF *UND* 0000000000000024 0x80 foo
0000000120100998 GLOB_DAT foo
$ readelf -a tA|grep foo
120100998 a00000019 R_ALPHA_GLOB_DAT 0000000000000000 foo + 0
10: 0000000000000000 36 FUNC WEAK DEFAULT UND foo
108: 0000000000000000 36 FUNC WEAK DEFAULT UND foo
No JMP_SLOT thing...
Cheers,
Christian