diff options
author | David 'Digit' Turner <digit@android.com> | 2010-05-10 16:48:20 -0700 |
---|---|---|
committer | David 'Digit' Turner <digit@android.com> | 2010-05-10 16:49:50 -0700 |
commit | 2c538c86c15d597cc875dc926e4e39285c5625df (patch) | |
tree | fd02b6da79b5e1375ab2ec5264ab339044e4a7da /tcg | |
parent | 5e097bf40ed22b422dce1fb2c58098d6c97cf0c6 (diff) | |
download | external_qemu-2c538c86c15d597cc875dc926e4e39285c5625df.zip external_qemu-2c538c86c15d597cc875dc926e4e39285c5625df.tar.gz external_qemu-2c538c86c15d597cc875dc926e4e39285c5625df.tar.bz2 |
Upstream: Use CONFIG_BSD instead of _BSD and HOST_BSD
Also fix OS X build, which failed with a link error.
Change-Id: Idd63f25dc1f46ea66da5727c7577def34f048c3c
Diffstat (limited to 'tcg')
-rw-r--r-- | tcg/i386/tcg-target.h | 4 | ||||
-rw-r--r-- | tcg/sparc/tcg-target.h | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/tcg/i386/tcg-target.h b/tcg/i386/tcg-target.h index 301a5bf..69227c3 100644 --- a/tcg/i386/tcg-target.h +++ b/tcg/i386/tcg-target.h @@ -52,6 +52,10 @@ enum { #define TCG_TARGET_HAS_ext8s_i32 #define TCG_TARGET_HAS_ext16s_i32 #define TCG_TARGET_HAS_rot_i32 +#define TCG_TARGET_HAS_ext8u_i32 +#define TCG_TARGET_HAS_ext16u_i32 + +#define TCG_TARGET_HAS_GUEST_BASE /* Note: must be synced with dyngen-exec.h */ #define TCG_AREG0 TCG_REG_EBP diff --git a/tcg/sparc/tcg-target.h b/tcg/sparc/tcg-target.h index 97f3533..e8f8f65 100644 --- a/tcg/sparc/tcg-target.h +++ b/tcg/sparc/tcg-target.h @@ -95,7 +95,7 @@ enum { /* Note: must be synced with dyngen-exec.h and Makefile.target */ -#ifdef HOST_SOLARIS +#ifdef CONFIG_SOLARIS #define TCG_AREG0 TCG_REG_G2 #define TCG_AREG1 TCG_REG_G3 #define TCG_AREG2 TCG_REG_G4 |