From owner-freebsd-alpha Fri Feb 8 9:19:47 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by hub.freebsd.org (Postfix) with ESMTP id 7FBD037B405 for ; Fri, 8 Feb 2002 09:19:43 -0800 (PST) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.9.3/8.9.3) with ESMTP id MAA21024; Fri, 8 Feb 2002 12:19:42 -0500 (EST) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.6/8.9.1) id g18HJCd34058; Fri, 8 Feb 2002 12:19:12 -0500 (EST) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15460.2192.700851.947838@grasshopper.cs.duke.edu> Date: Fri, 8 Feb 2002 12:19:12 -0500 (EST) To: John Polstra Cc: freebsd-alpha@freebsd.org Subject: RE: more on recent current alpha rtld/binutils breakage. In-Reply-To: References: <15460.1586.888567.63521@grasshopper.cs.duke.edu> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org John Polstra writes: > On 08-Feb-02 Andrew Gallatin wrote: > > > > I think this implies that either the kernel isn't setting up the map > > correctly, or that the elf header is wrong & its not marked > > executable. > > > > _rtld seems to be in the text section: > > > > 5 .text 00012d20 0000000000007340 0000000000007340 00007340 2**5 > > > > If you do "objdump -p" on the dynamic linker it will show the load > segments, among other things. The "flags" field at the end of the > line shows the permissions given to the segment. > > John Do the flags look OK? If I'm reading it right, I think they're ok... It looks mostly the same as when linked with the old ld: ld-elf.so.1.bad: file format elf64-alpha Program Header: LOAD off 0x0000000000000000 vaddr 0x0000000000000000 paddr 0x0000000000000000 align 2**16 filesz 0x000000000001b9ae memsz 0x000000000001b9ae flags r-x LOAD off 0x000000000001b9b0 vaddr 0x000000000002b9b0 paddr 0x000000000002b9b0 align 2**16 filesz 0x00000000000024f8 memsz 0x0000000000003a80 flags rwx DYNAMIC off 0x000000000001d1a8 vaddr 0x000000000002d1a8 paddr 0x000000000002d1a8 align 2**3 filesz 0x0000000000000100 memsz 0x0000000000000100 flags rw- Dynamic Section: SYMBOLIC 0x0 HASH 0xe8 STRTAB 0x33f0 SYMTAB 0x13e0 STRSZ 0xdb2 SYMENT 0x18 PLTGOT 0x2d2a8 RELA 0x41a8 RELASZ 0x3180 RELAENT 0x18 ld-elf.so.1.good: file format elf64-alpha Program Header: LOAD off 0x0000000000000000 vaddr 0x0000000000000000 paddr 0x0000000000000000 align 2**16 filesz 0x000000000001bbce memsz 0x000000000001bbce flags r-x LOAD off 0x000000000001bbd0 vaddr 0x000000000002bbd0 paddr 0x000000000002bbd0 align 2**16 filesz 0x00000000000024a8 memsz 0x0000000000003a30 flags rwx DYNAMIC off 0x000000000001dfc8 vaddr 0x000000000002dfc8 paddr 0x000000000002dfc8 align 2**3 filesz 0x00000000000000b0 memsz 0x00000000000000b0 flags rw- Dynamic Section: SYMBOLIC 0x0 HASH 0xe8 STRTAB 0x33f0 SYMTAB 0x13e0 STRSZ 0xfe9 SYMENT 0x18 PLTGOT 0x2d3c8 RELA 0x43e0 RELASZ 0x3180 RELAENT 0x18 What next? Thanks, Drew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message