------- Comment #5 from joseph at codesourcery dot com 2009-07-04 11:54 ------- Subject: Re: 32-bit pointers on 64-bit operating systems
The natural analogy would be with MIPS n32 (an ILP32 ABI for 64-bit MIPS hardware), which also indicates the directory names (/lib32) to use. There would certainly be a lot of work in ABI design, binutils, compiler, glibc and kernel to implement this, but I think such an ABI would be useful. One thing to consider would be whether it would be possible to avoid having three different syscall ABIs (which probably means making the new ABI use the same syscall ABI as LP64 code); the MIPS n32 syscall ABI has been a frequent cause of trouble. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40647