build: avoid build failure on some HPPA systems
authorPádraig Brady <P@draigBrady.com>
Tue, 30 Oct 2012 02:02:05 +0000 (02:02 +0000)
committerPádraig Brady <P@draigBrady.com>
Sun, 4 Nov 2012 00:49:04 +0000 (00:49 +0000)
commitda1329e715250faf950ce497a7d7601845c2b119
tree1f300a2ad6d39bf2f129ba94e0de47d7e43de874
parent6108baa47e90aaefb83eb230e2e063906ca14e87
build: avoid build failure on some HPPA systems

* src/longlong.h: Restrict some HPPA assembly variants to PA RISC V2.0.
Note we also avoid this assembly for ilp32 runtimes, since even though
the assembly is accepted there, it's not safe as the context can get
clobbered between the 'add' and 'add,dc'.
This fixes a compile failure with newer HPPA systems with default
GCC CPU options.
Reported by John David Anglin
src/longlong.h