temporary gcc 3.3 fix
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@562 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
bc0b1dc1eb
commit
825bd5f8e5
|
@ -19,8 +19,12 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* XXX: must use this define because the soft mmu macros have huge
|
/* XXX: must use this define because the soft mmu macros have huge
|
||||||
register constraints so they cannot be used in any C code */
|
register constraints so they cannot be used in any C code. gcc 3.3
|
||||||
|
does not seem to be able to handle some constraints in rol
|
||||||
|
operations, so we disable it. */
|
||||||
|
#if !(__GNUC__ == 3 && __GNUC_MINOR__ == 3)
|
||||||
#define ASM_SOFTMMU
|
#define ASM_SOFTMMU
|
||||||
|
#endif
|
||||||
#include "exec.h"
|
#include "exec.h"
|
||||||
|
|
||||||
/* n must be a constant to be efficient */
|
/* n must be a constant to be efficient */
|
||||||
|
|
Loading…
Reference in a new issue