This is the mail archive of the
mailing list for the binutils project.
Re: [RFC] [PATCH] 32-bit pointers in x86-64
- From: Paul Brook <paul at codesourcery dot com>
- To: binutils at sourceware dot org
- Cc: Luca <luca dot b633 at gmail dot com>, gcc at gcc dot gnu dot org
- Date: Sun, 25 Nov 2007 18:25:10 +0000
- Subject: Re: [RFC] [PATCH] 32-bit pointers in x86-64
- References: <email@example.com>
> 7. Add support for loading x86-32 and x86-64 objects in the same
> address space, using a single modified 64-bit libc.
I'm not convinvinced this is practical, or even possible. I'd expect the
restrictions imposed on code to make it work properly to be too onerous for
it to be of any real use. I recommend just having separate lp64 and ilp32
modes, like e.g. mips does with n32/n64.
You can't use conventional 32-bit x86 code, so there seems little or no
benefit in allowing 32 and 64-bit code to be mixed.