From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7677 invoked by alias); 2 Apr 2002 11:51:46 -0000 Mailing-List: contact binutils-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sources.redhat.com Received: (qmail 7645 invoked from network); 2 Apr 2002 11:51:44 -0000 Received: from unknown (HELO Cantor.suse.de) (213.95.15.193) by sources.redhat.com with SMTP; 2 Apr 2002 11:51:44 -0000 Received: from Hermes.suse.de (Hermes.suse.de [213.95.15.136]) by Cantor.suse.de (Postfix) with ESMTP id 65A9F1E4A5 for ; Tue, 2 Apr 2002 13:51:43 +0200 (MEST) X-Authentication-Warning: gee.suse.de: aj set sender to aj@suse.de using -f To: binutils@sources.redhat.com Subject: PPC ld test failure From: Andreas Jaeger Date: Tue, 02 Apr 2002 03:51:00 -0000 Message-ID: User-Agent: Gnus/5.090006 (Oort Gnus v0.06) XEmacs/21.4 (Artificial Intelligence, i386-suse-linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2002-04/txt/msg00005.txt.bz2 The vers14 test from ld fails for me on powerpc with HJ's latest binutils release with: /usr/src/packages/BUILD/binutils-2.12.90.0.3/build-dir/ld/../binutils/strip-new tmpdir/vers14.so BFD: tmpdir/stJdPpsP: warning: allocated section `.data' not in segment This looks broken to me, readelf on the file shows that .data is empty but is in the segment: Section Headers: [Nr] Name Type Addr Off Size ES Flg Lk Inf Al [ 0] NULL 00000000 000000 000000 00 0 0 0 [ 1] .hash HASH 00000094 000094 0000d4 04 A 2 0 4 [ 2] .dynsym DYNSYM 00000168 000168 000220 10 A 3 11 4 [ 3] .dynstr STRTAB 00000388 000388 000094 00 A 0 0 1 [ 4] .gnu.version VERSYM 0000041c 00041c 000044 02 A 2 0 2 [ 5] .gnu.version_d VERDEF 00000460 000460 000080 00 A 3 4 4 [ 6] .rela.dyn RELA 000004e0 0004e0 000048 0c A 2 0 4 [ 7] .text PROGBITS 00000528 000528 000098 00 AX 0 0 4 [ 8] .rodata PROGBITS 000005c0 0005c0 000008 00 A 0 0 4 [ 9] .data PROGBITS 000105c8 0005c8 000000 00 WA 0 0 1 [10] .dynamic DYNAMIC 000105c8 0005c8 000090 08 WA 3 0 4 [11] .got PROGBITS 00010658 000658 000010 04 WA 0 0 4 [12] .sdata2 PROGBITS 00010668 000668 000000 00 A 0 0 4 [13] .sdata PROGBITS 00010668 000668 000008 00 WA 0 0 4 [14] .sbss NOBITS 00010670 000670 000000 00 WA 0 0 1 [15] .bss NOBITS 00010670 000670 000000 00 WA 0 0 1 [16] .comment PROGBITS 00000000 000670 000046 00 0 0 1 [17] .shstrtab STRTAB 00000000 0006b6 00009c 00 0 0 1 [18] .symtab SYMTAB 00000000 000a74 0002b0 10 19 1a 4 [19] .strtab STRTAB 00000000 000d24 000114 00 0 0 1 Key to Flags: W (write), A (alloc), X (execute), M (merge), S (strings) I (info), L (link order), G (group), x (unknown) O (extra OS processing required) o (OS specific), p (processor specific) Program Headers: Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align LOAD 0x000000 0x00000000 0x00000000 0x005c8 0x005c8 R E 0x10000 LOAD 0x0005c8 0x000105c8 0x000105c8 0x000a8 0x000a8 RW 0x10000 DYNAMIC 0x0005c8 0x000105c8 0x000105c8 0x00090 0x00090 RW 0x4 Any ideas? Andreas -- Andreas Jaeger SuSE Labs aj@suse.de private aj@arthur.inka.de http://www.suse.de/~aj