On Mon, Apr 22, 2013 at 5:03 AM, Bjorn Reese
On 04/22/2013 02:18 AM, Rene Rivera wrote:
Indeed.. I might consider adding an ARCH_X86_X32. Although more
appropriate might be ARCH_X86_64_X32. But I'm somewhat reticent to add an ARCH that is just an "emulation" running on X86_64.
Or better yet, add macros to detect the data model [1]. For instance, the x32 ABI can be detected as ILP32. This will be a generic solution, not only limited to the oddities of x86.
I think eventually I will (and I'll add a todo item on that). But given that the information is commonly only going to be indirectly available (i.e. the LP64 etc macros are not defined my most compilers) it's not going to be easy. -- -- -- Grafik - Don't Assume Anything -- Redshift Software, Inc. - http://redshift-software.com -- rrivera/acm.org - grafik/redshift-software.com -- 102708583/icq - grafikrobot/aim - grafikrobot/yahoo