factor: disable x86_64 assembly code for x32 builds
authorMike Frysinger <vapier@gentoo.org>
Fri, 7 Dec 2012 20:44:18 +0000 (15:44 -0500)
committerPádraig Brady <P@draigBrady.com>
Fri, 21 Dec 2012 15:57:50 +0000 (15:57 +0000)
commitb6b24ad49d36e13df54650c99c43f9fddd15ff75
tree71fae63d40d066f91d69ac855eccc7b3238fbec4
parentdd44ccef0da458b682bcb6b866aac1460a5b50a1
factor: disable x86_64 assembly code for x32 builds

The current x86_64 asm code does not work for x32 (__ILP32__) ABIs,
so disable it.  Note simply deleting the q suffix is not enough.

* src/longlong.h: Restrict x86_64 assembly to _LP64 targets,
which is consistent with other checks in longlong.h and
avoids this code on x32.
* NEWS: Mention the build fix.
NEWS
src/longlong.h