[PATCH v2] Xmd.h: Treat __ILP32__ targets as LONG32 ones

Alan Coopersmith alan.coopersmith at oracle.com
Sun Jun 10 08:52:44 PDT 2012


On 06/ 6/12 11:49 AM, Sergei Trofimovich wrote:
> amd64-x32 ABI defines sizeof(long) == sizeof (void*) == 4

And I still maintain that if it defines __amd64__ in a non-LP64
environment it is fundamentally broken and incompatible with the
rest of the world.   If your ABI is not 100% compatible with an
existing one, it needs to define a new symbol, not break all the
software that knows what the existing ABI symbols were guaranteed
to mean.

-- 
	-Alan Coopersmith-              alan.coopersmith at oracle.com
	 Oracle Solaris Engineering - http://blogs.oracle.com/alanc


More information about the xorg-devel mailing list