This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: The Linux binutils 2.13.90.0.18 is rleased
- From: Olaf Hering <olh at suse dot de>
- To: binutils at sources dot redhat dot com
- Date: Sat, 1 Feb 2003 14:40:19 +0100
- Subject: Re: The Linux binutils 2.13.90.0.18 is rleased
- References: <20030124104903.A26314@lucon.org> <u8fzrgi50p.fsf@gromit.moeb> <20030126103424.GA24408@suse.de> <20030201113111.A5689@suse.de>
On Sat, Feb 01, Olaf Hering wrote:
> mandarine:~# gcc33/bin/gcc -v
> Reading specs from gcc33/bin/../lib/gcc-lib/powerpc-suse-linux/3.3/specs
> Configured with: /tmp/gcc-3_3-branch/configure --enable-threads=posix --prefix=/home/olaf/gcc33 --enable-languages=c --disable-checking --enable-libgcj --with-system-zlib --enable-shared --enable-__cxa_atexit powerpc-suse-linux
> Thread model: posix
> gcc version 3.3 20030201 (prerelease)
>
> /home/olaf/build-binutils33/ld/ld-new -m elf32ppclinux -o tmpdir/libfoo.so -dynamic-linker /lib/ld.so.1 /usr/lib/crt1.o /usr/lib/crti.o /home/olaf/gcc33/li
> b/gcc-lib/powerpc-suse-linux/3.3/crtbegin.o --shared tmpdir/foo1a.o tmpdir/bar1a.o -ldl -L/usr/lib /home/olaf/gcc33/lib/gcc-lib/powerpc-suse-linux/3.3/lib
> gcc.a /home/olaf/gcc33/lib/gcc-lib/powerpc-suse-linux/3.3/libgcc_eh.a -lc /home/olaf/gcc33/lib/gcc-lib/powerpc-suse-linux/3.3/libgcc.a /home/olaf/gcc33/lib/
> gcc-lib/powerpc-suse-linux/3.3/libgcc_eh.a /home/olaf/gcc33/lib/gcc-lib/powerpc-suse-linux/3.3/crtend.o /usr/lib/crtn.o
> /home/olaf/build-binutils33/ld/../binutils/objdump --dynamic-syms tmpdir/libfoo.so | grep foo$ > tmpdir/objdump.out
> tmpdir/objdump.out: 0: 00010f1c g D .sbss 00000004 Base deallocate_foo
> FAIL: ELF DSO weak data last
Here is the objdump output from 3.2 and 3.3 (as wdiff):
tmpdir/libfoo.so: file format elf32-powerpc
DYNAMIC SYMBOL TABLE:
000000b4 l d .hash 00000000
[-0000024c-]
{+00000240+} l d .dynsym 00000000
[-0000063c-]
{+00000600+} l d .dynstr 00000000
[-00000780-]
{+00000744+} l d .gnu.version 00000000
[-00000800-]
{+000007bc+} l d .gnu.version_r 00000000
[-00000820-]
{+000007dc+} l d .rela.dyn 00000000
[-000009e8 l d .rela.plt 00000000
000009f4-]
{+00000a1c+} l d .init 00000000
[-00000a1c-]
{+00000a44+} l d .text 00000000
[-00000dd4-]
{+00000db4+} l d .fini 00000000
[-00000df4-]
{+00000dd4+} l d .rodata 00000000
[-00000e34-]
{+00000e14+} l d .note.ABI-tag 00000000
[-00010e54-]
{+00010e34+} l d .data 00000000
[-00010e5c-]
{+00010e3c+} l d .eh_frame 00000000
[-00010e60 l d .got2 00000000
00010e74-]
{+00010e40+} l d .dynamic 00000000
[-00010f44-]
{+00010ef0+} l d .ctors 00000000
[-00010f4c-]
{+00010ef8+} l d .dtors 00000000
[-00010f54-]
{+00010f00+} l d .jcr 00000000
[-00010f58-]
{+00010f04+} l d .got 00000000
[-00010f70-]
{+00010f1c+} l d .sdata2 00000000
[-00010f70-]
{+00010f1c+} l d .sdata 00000000
[-00010f74-]
{+00010f1c+} l d .sbss 00000000
[-00010f74 l d .plt 00000000
00010fc8-]
{+00010f20+} l d .bss 00000000
00000000 l d .comment 00000000
00000000 l d .debug_aranges 00000000
00000000 l d .debug_pubnames 00000000
00000000 l d .debug_info 00000000
00000000 l d .debug_abbrev 00000000
00000000 l d .debug_line 00000000
00000000 l d .debug_frame 00000000
00000000 l d .debug_str 00000000
[-00000bcc-]
{+00000bc4+} g DF .text 00000074 Base foobar
[-00010e74-]
{+00010e40+} g DO *ABS* 00000000 Base _DYNAMIC
00000000 D *UND* 00000000 __fini_array_end
[-00000ccc-]
{+00000cc4+} g DF .text 00000084 Base __libc_csu_fini
00000000 DF *UND* 0000020c GLIBC_2.0 puts
[-000009f4-]
{+00000a1c+} g DF .init 00000000 Base _init
00000000 DF *UND* 000001f4 GLIBC_2.0 abort
[-00010f70-]
{+00010f1c+} g [-DO .sdata-] {+D .sbss+} 00000004 Base deallocate_foo
[-00000a1c-]
{+00000a44+} g DF .text 00000024 Base _start
[-00018f70-]
{+00018f1c+} g DO .sdata 00000000 Base _SDA_BASE_
00000000 D *UND* 00000000 __fini_array_start
[-00000c4c-]
{+00000c44+} g DF .text 00000080 Base __libc_csu_init
[-00010f74-]
{+00010f1c+} g D *ABS* 00000000 Base __bss_start
00000000 D *UND* 00000000 main
00000000 DF *UND* 000001a8 GLIBC_2.0 __libc_start_main
00000000 D *UND* 00000000 __init_array_end
[-00010e54-]
{+00010e34+} w D .data 00000000 Base data_start
[-00000dd4-]
{+00000db4+} g DF .fini 00000000 Base _fini
[-00000ba4-]
{+00000b9c+} g DF .text 00000028 Base foo
[-00010f74-]
{+00010f1c+} g D *ABS* 00000000 Base _edata
[-00010f5c-]
{+00010f08+} g DO *ABS* 00000000 Base _GLOBAL_OFFSET_TABLE_
[-00010fcc-]
{+00010f24+} g D *ABS* 00000000 Base _end
00000000 D *UND* 00000000 __init_array_start
[-00000c40-]
{+00000c38+} g DF .text 0000000c Base bar
[-00000e04-]
{+00000de4+} g DO .rodata 00000004 Base _IO_stdin_used
[-00010e54-]
{+00010e34+} g D .data 00000000 Base __data_start
00000000 w D *UND* 00000000 _Jv_RegisterClasses
[-00018f70-]
{+00018f1c+} g DO .sdata2 00000000 Base _SDA2_BASE_
00000000 w D *UND* 00000000 __gmon_start__
--
A: No.
Q: Should I include quotations after my reply?