From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 17035 invoked from network); 7 Aug 1999 01:28:08 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 7 Aug 1999 01:28:08 -0000 Received: from piglet.twiddle.net (root@piglet.twiddle.net [207.104.6.26]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id VAA09371 for ; Fri, 6 Aug 1999 21:28:07 -0400 Received: (from rth@localhost) by piglet.twiddle.net (8.8.7/8.8.7) id SAA17840 for axp-list@redhat.com; Fri, 6 Aug 1999 18:28:05 -0700 Date: Fri, 6 Aug 1999 18:28:05 -0700 From: Richard Henderson To: axp-list@redhat.com Subject: Re: Tru64 executeables Message-ID: <19990806182805.B14924@twiddle.net> References: <19990806124643.A28305@jurassic.park.msu.ru> <199908062314.TAA25003@adder.cs.Virginia.EDU> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.5i In-Reply-To: <199908062314.TAA25003@adder.cs.Virginia.EDU>; from Greg Lindahl on Fri, Aug 06, 1999 at 07:13:59PM -0400 On Fri, Aug 06, 1999 at 07:13:59PM -0400, Greg Lindahl wrote: > ld -T script -static You don't have to make it static if you don't want. > flip the bit at 0x30 This bit means you won't get anything mapped at addresses above 0x7fffffff without explicitly requesting it (via mmap MAP_FIXED). The upshot of this is that the shared libraries and the brk arena wind up in the low 31 bits, which means you can cast pointers through int and back without damage. r~