From: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
To: "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>
Cc: Tom Vier <tmv5@home.com>, Alan Cox <alan@lxorguk.ukuu.org.uk>,
linux-kernel@vger.kernel.org
Subject: Re: [patch] Re: Linux 2.4.5-ac6
Date: Thu, 7 Jun 2001 21:20:15 +0400 [thread overview]
Message-ID: <20010607212015.A17908@jurassic.park.msu.ru> (raw)
In-Reply-To: <20010606093700.A1445@jurassic.park.msu.ru> <Pine.GSO.3.96.1010606115046.23232A-100000@delta.ds2.pg.gda.pl>
In-Reply-To: <Pine.GSO.3.96.1010606115046.23232A-100000@delta.ds2.pg.gda.pl>; from macro@ds2.pg.gda.pl on Wed, Jun 06, 2001 at 03:09:11PM +0200
On Wed, Jun 06, 2001 at 03:09:11PM +0200, Maciej W. Rozycki wrote:
> $ odump -D /usr/bin/X11/real-netscape | grep FLAGS
> FLAGS: 0x40000001
> $ odump -D /usr/bin/X11/xterm | grep FLAGS
> FLAGS: 0x00000001
>
> A wild guess: the 32-bit flag is bit 30.
Thanks for the info. I dug a bit that OSF stuff (on Compaq's testdrive
boxes), and found no traces of 32-bit addressing support in the OSF kernel.
Everything seems to be done by dynamic linker (i.e. /sbin/loader) in user
space.
> A second attempt (after a bit of searching in /usr/include):
>
> $ grep ADDRESSES /usr/include/elf_mips.h
> #define RHF_USE_31BIT_ADDRESSES 0x40000000
Same in /usr/include/coff_dyn.h, True64 v5.1.
> So what is needed is already in place and ready to use.
I don't think so. The EF_ALPHA_32BIT in the ELF header flags
is elegant and easy to use. Unlike this, RHF_USE_31BIT_ADDRESSES is
not in the headers, but somewhere in .dynamic section. And what
about a static binary calling mmap()? ;-)
BTW, OSF/1 manpages say nothing about first argument of mmap(2) being
just a hint:
...
PARAMETERS
addr Specifies the starting address of the new region (truncated to a
page boundary).
len Specifies the length in bytes of the new region (rounded up to a
page boundary).
...
Ivan.
next prev parent reply other threads:[~2001-06-07 17:25 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-06-01 11:01 Alan Cox
2001-06-01 11:28 ` Alexander Viro
2001-06-01 11:52 ` Alan Cox
2001-06-01 12:23 ` Keith Owens
2001-06-02 2:27 ` Tom Vier
2001-06-04 10:16 ` Maciej W. Rozycki
2001-06-04 17:08 ` [patch] " Ivan Kokshaysky
2001-06-05 15:11 ` Maciej W. Rozycki
2001-06-05 17:41 ` Ivan Kokshaysky
2001-06-05 18:32 ` Maciej W. Rozycki
2001-06-06 5:37 ` Ivan Kokshaysky
2001-06-06 13:09 ` Maciej W. Rozycki
2001-06-06 14:49 ` Jeff Garzik
2001-06-06 17:26 ` Maciej W. Rozycki
2001-06-07 17:48 ` Ivan Kokshaysky
2001-06-07 18:31 ` Maciej W. Rozycki
2001-06-08 10:18 ` jlnance
2001-06-08 17:06 ` Gerhard Mack
2001-06-08 14:18 ` Ivan Kokshaysky
2001-06-07 17:20 ` Ivan Kokshaysky [this message]
2001-06-07 18:28 ` Maciej W. Rozycki
2001-06-08 14:16 ` Ivan Kokshaysky
2001-06-08 16:08 ` Maciej W. Rozycki
2001-06-08 17:23 ` Ivan Kokshaysky
2001-06-09 10:14 ` Ivan Kokshaysky
2001-06-09 18:46 ` Tom Vier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20010607212015.A17908@jurassic.park.msu.ru \
--to=ink@jurassic.park.msu.ru \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=macro@ds2.pg.gda.pl \
--cc=tmv5@home.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®