diff options
Diffstat (limited to 'tcg')
-rw-r--r-- | tcg/arm/tcg-target.c | 11 | ||||
-rw-r--r-- | tcg/hppa/tcg-target.c | 11 | ||||
-rw-r--r-- | tcg/i386/tcg-target.c | 11 | ||||
-rw-r--r-- | tcg/ppc/tcg-target.c | 11 | ||||
-rw-r--r-- | tcg/ppc64/tcg-target.c | 11 | ||||
-rw-r--r-- | tcg/sparc/tcg-target.c | 10 | ||||
-rw-r--r-- | tcg/x86_64/tcg-target.c | 10 |
7 files changed, 12 insertions, 63 deletions
diff --git a/tcg/arm/tcg-target.c b/tcg/arm/tcg-target.c index 3ced47ef82..dee1ebca59 100644 --- a/tcg/arm/tcg-target.c +++ b/tcg/arm/tcg-target.c @@ -808,15 +808,8 @@ static void tcg_out_div_helper(TCGContext *s, int cond, const TCGArg *args, } #ifdef CONFIG_SOFTMMU -extern void __ldb_mmu(void); -extern void __ldw_mmu(void); -extern void __ldl_mmu(void); -extern void __ldq_mmu(void); - -extern void __stb_mmu(void); -extern void __stw_mmu(void); -extern void __stl_mmu(void); -extern void __stq_mmu(void); + +#include "../../softmmu_defs.h" static void *qemu_ld_helpers[4] = { __ldb_mmu, diff --git a/tcg/hppa/tcg-target.c b/tcg/hppa/tcg-target.c index 2d17c81908..3affd26ecf 100644 --- a/tcg/hppa/tcg-target.c +++ b/tcg/hppa/tcg-target.c @@ -345,15 +345,8 @@ static inline void tcg_out_call(TCGContext *s, void *func) } #if defined(CONFIG_SOFTMMU) -extern void __ldb_mmu(void); -extern void __ldw_mmu(void); -extern void __ldl_mmu(void); -extern void __ldq_mmu(void); - -extern void __stb_mmu(void); -extern void __stw_mmu(void); -extern void __stl_mmu(void); -extern void __stq_mmu(void); + +#include "../../softmmu_defs.h" static void *qemu_ld_helpers[4] = { __ldb_mmu, diff --git a/tcg/i386/tcg-target.c b/tcg/i386/tcg-target.c index a7bd748617..08bb783d3e 100644 --- a/tcg/i386/tcg-target.c +++ b/tcg/i386/tcg-target.c @@ -404,15 +404,8 @@ static void tcg_out_brcond2(TCGContext *s, } #if defined(CONFIG_SOFTMMU) -extern void __ldb_mmu(void); -extern void __ldw_mmu(void); -extern void __ldl_mmu(void); -extern void __ldq_mmu(void); - -extern void __stb_mmu(void); -extern void __stw_mmu(void); -extern void __stl_mmu(void); -extern void __stq_mmu(void); + +#include "../../softmmu_defs.h" static void *qemu_ld_helpers[4] = { __ldb_mmu, diff --git a/tcg/ppc/tcg-target.c b/tcg/ppc/tcg-target.c index 5018232af5..ad174681f3 100644 --- a/tcg/ppc/tcg-target.c +++ b/tcg/ppc/tcg-target.c @@ -454,15 +454,8 @@ static void tcg_out_b (TCGContext *s, int mask, tcg_target_long target) } #if defined(CONFIG_SOFTMMU) -extern void __ldb_mmu(void); -extern void __ldw_mmu(void); -extern void __ldl_mmu(void); -extern void __ldq_mmu(void); - -extern void __stb_mmu(void); -extern void __stw_mmu(void); -extern void __stl_mmu(void); -extern void __stq_mmu(void); + +#include "../../softmmu_defs.h" static void *qemu_ld_helpers[4] = { __ldb_mmu, diff --git a/tcg/ppc64/tcg-target.c b/tcg/ppc64/tcg-target.c index 6acf823ebd..6b16efa852 100644 --- a/tcg/ppc64/tcg-target.c +++ b/tcg/ppc64/tcg-target.c @@ -509,15 +509,8 @@ static void tcg_out_b (TCGContext *s, int mask, tcg_target_long target) } #if defined (CONFIG_SOFTMMU) -extern void __ldb_mmu(void); -extern void __ldw_mmu(void); -extern void __ldl_mmu(void); -extern void __ldq_mmu(void); - -extern void __stb_mmu(void); -extern void __stw_mmu(void); -extern void __stl_mmu(void); -extern void __stq_mmu(void); + +#include "../../softmmu_defs.h" static void *qemu_ld_helpers[4] = { __ldb_mmu, diff --git a/tcg/sparc/tcg-target.c b/tcg/sparc/tcg-target.c index 7eb7cdc562..861ed8e3d3 100644 --- a/tcg/sparc/tcg-target.c +++ b/tcg/sparc/tcg-target.c @@ -472,16 +472,8 @@ void tcg_target_qemu_prologue(TCGContext *s) } #if defined(CONFIG_SOFTMMU) -extern void __ldb_mmu(void); -extern void __ldw_mmu(void); -extern void __ldl_mmu(void); -extern void __ldq_mmu(void); - -extern void __stb_mmu(void); -extern void __stw_mmu(void); -extern void __stl_mmu(void); -extern void __stq_mmu(void); +#include "../../softmmu_defs.h" static const void * const qemu_ld_helpers[4] = { __ldb_mmu, diff --git a/tcg/x86_64/tcg-target.c b/tcg/x86_64/tcg-target.c index bc5694a8ca..183816aebb 100644 --- a/tcg/x86_64/tcg-target.c +++ b/tcg/x86_64/tcg-target.c @@ -467,16 +467,8 @@ static void tcg_out_brcond(TCGContext *s, int cond, } #if defined(CONFIG_SOFTMMU) -extern void __ldb_mmu(void); -extern void __ldw_mmu(void); -extern void __ldl_mmu(void); -extern void __ldq_mmu(void); - -extern void __stb_mmu(void); -extern void __stw_mmu(void); -extern void __stl_mmu(void); -extern void __stq_mmu(void); +#include "../../softmmu_defs.h" static void *qemu_ld_helpers[4] = { __ldb_mmu, |