Subject: Re: port-amd64/36967: netbsd-32 emulation broken on amd64
To: None <port-amd64-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: Martin Husemann <martin@duskware.de>
List: netbsd-bugs
Date: 09/10/2007 23:20:03
The following reply was made to PR port-amd64/36967; it has been noted by GNATS.

From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: port-amd64/36967: netbsd-32 emulation broken on amd64
Date: Tue, 11 Sep 2007 01:18:51 +0200

 On Mon, Sep 10, 2007 at 03:55:00PM +0000, christos@zoulas.com wrote:
 > The dynamic linker tries to mprotect the text segment of libc
 > in order to perform text relocations.
 
 I don't understand why ld.elf_so should do this - the GOT should not be
 part of the text segment, and IIRC i386 only changes the GOT during
 runtime linking.
 
 Maybe something is wrong with the elf sections generated for libc.so in
 current?
 
 Martin