[xproto: PATCH] Xmd.h: amd64-x32 ABI defines sizeof(long) == sizeof (void*) == 4

Alan Coopersmith alan.coopersmith at oracle.com
Wed Dec 28 07:25:11 PST 2011

On 12/28/11 06:34, Lu, Hongjiu wrote:
> __AMD64__ is defined when 64bit x86 instruction set is used,
> which is true for x32. The difference is x32 doesn't define
> __LP64__.

Then you have explictly designed your ABI to break existing
software, and it is broken by design and should not be adopted.

	-Alan Coopersmith-        alan.coopersmith at oracle.com
	 Oracle Solaris Platform Engineering: X Window System

More information about the xorg-devel mailing list