From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 18539 invoked from network); 6 Aug 1999 23:14:02 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 6 Aug 1999 23:14:02 -0000 Received: from ares.cs.Virginia.EDU (ares.cs.Virginia.EDU [128.143.136.41] (may be forged)) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id TAA01694 for ; Fri, 6 Aug 1999 19:14:01 -0400 Received: from adder.cs.Virginia.EDU (adder.cs.Virginia.EDU [128.143.137.18]) by ares.cs.Virginia.EDU (8.9.2/8.9.2/UVACS-1999030200) with ESMTP id TAA28909 for ; Fri, 6 Aug 1999 19:14:00 -0400 (EDT) From: Greg Lindahl Received: (from lindahl@localhost) by adder.cs.Virginia.EDU (8.8.5/8.8.5) id TAA25003 for axp-list@redhat.com; Fri, 6 Aug 1999 19:14:00 -0400 (EDT) Message-Id: <199908062314.TAA25003@adder.cs.Virginia.EDU> Subject: Re: Tru64 executeables To: axp-list@redhat.com Date: Fri, 6 Aug 1999 19:13:59 -0400 (EDT) In-Reply-To: <19990806124643.A28305@jurassic.park.msu.ru> from "Ivan Kokshaysky" at Aug 6, 99 12:46:43 pm X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit > Actually, it's possible right now. Create linker script with > `ld --verbose', edit it like this > - . = 0x120000000 + SIZEOF_HEADERS; > + . = 0x10000 + SIZEOF_HEADERS; > and link with it. Then you have to set 1 (EF_ALPHA_32BIT) > at file offset 0x30 (Elf64_Ehdr.e_flags) in the executable. > Any 2.2.x kernel supports this flag. OK, so you need to: ld --verbose > script delete up to the "============" and the one at the end make the above change ld -T script -static flip the bit at 0x30 My grungy fortran program now quietly exits, but it _was_ segfaulting... so maybe this does work. -- g