From: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
To: axp-list@redhat.com
Subject: Re: Tru64 executeables
Date: Fri, 6 Aug 1999 12:46:43 +0400 [thread overview]
Message-ID: <19990806124643.A28305@jurassic.park.msu.ru> (raw)
In-Reply-To: <199908051625.MAA09102@adder.cs.Virginia.EDU>; from Greg Lindahl on Thu, Aug 05, 1999 at 12:25:13PM -0400
On Thu, Aug 05, 1999 at 12:25:13PM -0400, Greg Lindahl wrote:
> What we really need is the -taso flag added to GNU ld. This flag links
> a process so that it runs in a 32-bit address space (e.g. it places
> everything so that the upper 32 bits of all addresses is zero). Minor
> kernel changes are also needed. That would allow Netscape and a
> variety of other broken programs to be easily compiled in AlphaLinux.
>
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.
(Thanks to Richard Henderson who pointed that out at the gcc list)
Ivan.
next prev parent reply other threads:[~1999-08-06 8:46 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-08-05 7:32 Tru64 executeables Bernhard Gschaider
1999-08-05 7:58 ` Greg Lindahl
1999-08-05 8:05 ` John Connett
1999-08-05 13:01 ` Christopher C Chimelis
1999-08-05 8:40 ` Angus Leeming
1999-08-05 11:03 ` Dave Mason
1999-08-05 11:29 ` Matti Aarnio
1999-08-05 16:25 ` Greg Lindahl
1999-08-06 8:46 ` Ivan Kokshaysky [this message]
1999-08-06 10:52 ` Roman Martonak
1999-08-06 18:22 ` Greg Lindahl
1999-08-06 19:36 ` Jim Gettys
1999-08-06 20:31 ` Jim Gettys
1999-08-06 23:13 ` Greg Lindahl
1999-08-07 1:28 ` Richard Henderson
1999-08-07 1:30 ` Greg Lindahl
1999-08-07 2:53 ` Greg Lindahl
1999-08-07 4:07 ` Pointer problems Tommy Cheung
1999-08-07 5:30 ` Michal Jaegermann
1999-08-07 6:54 ` Tru64 executeables Ivan Kokshaysky
1999-08-07 7:04 ` Greg Lindahl
1999-08-07 21:29 ` Richard Henderson
1999-08-07 21:52 ` Dave Mason
1999-08-07 22:03 ` Greg Lindahl
1999-08-07 22:27 ` Greg Lindahl
1999-08-09 13:01 ` Phil Carmody
1999-08-09 17:02 ` Greg Lindahl
1999-08-09 17:22 ` Ivan Kokshaysky
1999-08-09 17:27 ` Phil Carmody
-- strict thread matches above, loose matches on Subject: below --
1999-08-05 12:21 Angus Leeming
1999-08-05 12:35 Paul Jakma
1999-08-06 20:49 Larry Sendlosky
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox