This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: libstdc++ baseline updates for 3.4/HEAD
B. Kosnik writes:
> Matthias,
>
> I'm working on getting access to additional arches.
thanks.
> This difference still puzzles me, however.
>
> %as --version
> GNU assembler 2.15.90 20040401
>
> %ld --version
> GNU ld version 2.15.90 20040401
2.14.90.0.7 20031029 Debian GNU/Linux
2.15.90.0.1 20040303
2.15.91.0.1 20040527
last two version fetched as binary rpm's from kernel.org.
> No! This is the part that puzzles me. These are explicitly instantiated
> in io-inst.o: you should see weak symbols in that object file.
>
> %objdump -t io-inst.o | grep _ZNSdC2Ev
> 00000000 l d .gnu.linkonce.t._ZNSdC2Ev 00000000
> 00000000 w F .gnu.linkonce.t._ZNSdC2Ev 00000045 _ZNSdC2Ev
same output with all binutils versions mentioned above, but:
$ objdump -t .libs/io-inst.o | grep _ZNSdC2Ev
00000000 l d .gnu.linkonce.t._ZNSdC2Ev 00000000
00000000 w F .gnu.linkonce.t._ZNSdC2Ev 00000045 _ZNSdC2Ev
$ objdump -t .libs/libstdc++.so | grep _ZNSdC2Ev
00056730 l F .text 00000045 _ZNSdC2Ev
$ objdump -t .libs/libstdc++.a | grep _ZNSdC2Ev
00000000 l d .gnu.linkonce.t._ZNSdC2Ev 00000000
00000000 w F .gnu.linkonce.t._ZNSdC2Ev 00000045 _ZNSdC2Ev
Matthias