[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 23/47] rename HAVE_GPROF to TARGET_GPROF
From: |
Juan Quintela |
Subject: |
[Qemu-devel] [PATCH 23/47] rename HAVE_GPROF to TARGET_GPROF |
Date: |
Mon, 27 Jul 2009 16:13:02 +0200 |
Use was not consistent, in Makefile was TARGET_GPROF and in *h HAVE_GPROF
Signed-off-by: Juan Quintela <address@hidden>
---
bsd-user/syscall.c | 6 +++---
configure | 2 +-
linux-user/syscall.c | 6 +++---
3 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/bsd-user/syscall.c b/bsd-user/syscall.c
index 4f713f2..3cff357 100644
--- a/bsd-user/syscall.c
+++ b/bsd-user/syscall.c
@@ -66,7 +66,7 @@ abi_long do_freebsd_syscall(void *cpu_env, int num, abi_long
arg1,
switch(num) {
case TARGET_FREEBSD_NR_exit:
-#ifdef HAVE_GPROF
+#ifdef TARGET_GPROF
_mcleanup();
#endif
gdb_exit(cpu_env, arg1);
@@ -138,7 +138,7 @@ abi_long do_netbsd_syscall(void *cpu_env, int num, abi_long
arg1,
switch(num) {
case TARGET_NETBSD_NR_exit:
-#ifdef HAVE_GPROF
+#ifdef TARGET_GPROF
_mcleanup();
#endif
gdb_exit(cpu_env, arg1);
@@ -210,7 +210,7 @@ abi_long do_openbsd_syscall(void *cpu_env, int num,
abi_long arg1,
switch(num) {
case TARGET_OPENBSD_NR_exit:
-#ifdef HAVE_GPROF
+#ifdef TARGET_GPROF
_mcleanup();
#endif
gdb_exit(cpu_env, arg1);
diff --git a/configure b/configure
index 61f4c78..ac8273e 100755
--- a/configure
+++ b/configure
@@ -1583,7 +1583,7 @@ if test -n "$sparc_cpu"; then
fi
if test "$gprof" = "yes" ; then
echo "TARGET_GPROF=yes" >> $config_host_mak
- echo "#define HAVE_GPROF 1" >> $config_host_h
+ echo "#define TARGET_GPROF 1" >> $config_host_h
fi
if test "$static" = "yes" ; then
echo "CONFIG_STATIC=y" >> $config_host_mak
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index 7b57323..4b230dd 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
@@ -57,7 +57,7 @@
#include <netinet/ip.h>
#include <netinet/tcp.h>
#include <qemu-common.h>
-#ifdef HAVE_GPROF
+#ifdef TARGET_GPROF
#include <sys/gmon.h>
#endif
@@ -4162,7 +4162,7 @@ abi_long do_syscall(void *cpu_env, int num, abi_long arg1,
pthread_exit(NULL);
}
#endif
-#ifdef HAVE_GPROF
+#ifdef TARGET_GPROF
_mcleanup();
#endif
gdb_exit(cpu_env, arg1);
@@ -5676,7 +5676,7 @@ abi_long do_syscall(void *cpu_env, int num, abi_long arg1,
#ifdef __NR_exit_group
/* new thread calls */
case TARGET_NR_exit_group:
-#ifdef HAVE_GPROF
+#ifdef TARGET_GPROF
_mcleanup();
#endif
gdb_exit(cpu_env, arg1);
--
1.6.2.5
- [Qemu-devel] [PATCH 06/47] remove CONFIG_ from VNC_SASL_{LIBS, FLAGS}, (continued)
- [Qemu-devel] [PATCH 06/47] remove CONFIG_ from VNC_SASL_{LIBS, FLAGS}, Juan Quintela, 2009/07/27
- [Qemu-devel] [PATCH 08/47] make fmod also use FMOD_{LIBS,CFLAGS}, Juan Quintela, 2009/07/27
- [Qemu-devel] [PATCH 10/47] move printing of config-host.mak variables to end of generation, Juan Quintela, 2009/07/27
- [Qemu-devel] [PATCH 11/47] more specific config.mak can overwrote more general config.mak, Juan Quintela, 2009/07/27
- [Qemu-devel] [PATCH 09/47] make oss use OSS_LIBS, Juan Quintela, 2009/07/27
- [Qemu-devel] [PATCH 13/47] Rename HAVE_FDT to CONFIG_FDT and define it also in Makefile, Juan Quintela, 2009/07/27
- [Qemu-devel] [PATCH 12/47] Add -static in configure if needed, Juan Quintela, 2009/07/27
- [Qemu-devel] [PATCH 15/47] fix indententation, Juan Quintela, 2009/07/27
- [Qemu-devel] [PATCH 14/47] Refactor code to remove one #ifdef CONFIG_FDT, Juan Quintela, 2009/07/27
- [Qemu-devel] [PATCH 18/47] define MAP_ANONYMOUS if it is not defined in qemu-common.h, Juan Quintela, 2009/07/27
- [Qemu-devel] [PATCH 23/47] rename HAVE_GPROF to TARGET_GPROF,
Juan Quintela <=
- [Qemu-devel] [PATCH 20/47] rename HAVE_IOVEC to CONFIG_IOVEC, Juan Quintela, 2009/07/27
- [Qemu-devel] [PATCH 21/47] rename HAVE_FNMATCH_H to CONFIG_FNMATCH, Juan Quintela, 2009/07/27
- [Qemu-devel] [PATCH 22/47] rename HAVE_MACHINE_BSWAP_H to CONFIG_MACHINE_BSWAP_H, Juan Quintela, 2009/07/27
- [Qemu-devel] [PATCH 25/47] rename DEBUG_TCG to CONFIG_DEBUG_TCG, Juan Quintela, 2009/07/27
- [Qemu-devel] [PATCH 24/47] rename HAVE_BYTESWAP_H to CONFIG_BYTESWAP_H, Juan Quintela, 2009/07/27
- [Qemu-devel] [PATCH 26/47] rename DEBUG_EXEC to CONFIG_DEBUG_EXEC, Juan Quintela, 2009/07/27
- [Qemu-devel] [PATCH 17/47] rename HOST_BSD to CONFIG_BSD, Juan Quintela, 2009/07/27
- [Qemu-devel] [PATCH 16/47] O_LARGEFILE is already set in qemu-common.h, Juan Quintela, 2009/07/27