aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Ivanov <dimitry@google.com>2015-05-27 16:58:04 -0700
committerDmitriy Ivanov <dimitry@google.com>2015-05-27 17:01:57 -0700
commit22bcca76a224404fa81fff26437d15f17be56fd4 (patch)
tree19f039762b4dec37af0e0c61382fc0de47d82098
parent370b486d36b36ddba85bc1483c5fe01acce07ce0 (diff)
downloadvalgrind-22bcca76a224404fa81fff26437d15f17be56fd4.tar.gz
Fix x86_64 target build
Bug: https://bugs.kde.org/id=348342 Change-Id: I5b48491d18ced37c9ecff60661fb4a5b47519219
-rw-r--r--coregrind/m_initimg/initimg-linux.c5
-rw-r--r--coregrind/vg_preloaded.c5
-rw-r--r--coregrind/vgdb.c5
3 files changed, 3 insertions, 12 deletions
diff --git a/coregrind/m_initimg/initimg-linux.c b/coregrind/m_initimg/initimg-linux.c
index d8ff159cc..140eb780e 100644
--- a/coregrind/m_initimg/initimg-linux.c
+++ b/coregrind/m_initimg/initimg-linux.c
@@ -646,10 +646,7 @@ Addr setup_client_stack( void* init_sp,
case AT_GID:
case AT_EGID:
case AT_CLKTCK:
-# if !defined(VGPV_arm_linux_android) \
- && !defined(VGPV_x86_linux_android) \
- && !defined(VGPV_mips32_linux_android) \
- && !defined(VGPV_arm64_linux_android)
+# if !defined(__ANDROID__)
case AT_FPUCW: /* missing on android */
# endif
/* All these are pointerless, so we don't need to do
diff --git a/coregrind/vg_preloaded.c b/coregrind/vg_preloaded.c
index fbb2e285f..dec2ac5f2 100644
--- a/coregrind/vg_preloaded.c
+++ b/coregrind/vg_preloaded.c
@@ -57,10 +57,7 @@ void VG_NOTIFY_ON_LOAD(freeres)( void );
void VG_NOTIFY_ON_LOAD(freeres)( void )
{
# if !defined(__UCLIBC__) \
- && !defined(VGPV_arm_linux_android) \
- && !defined(VGPV_x86_linux_android) \
- && !defined(VGPV_mips32_linux_android) \
- && !defined(VGPV_arm64_linux_android)
+ && !defined(__ANDROID__)
extern void __libc_freeres(void);
__libc_freeres();
# endif
diff --git a/coregrind/vgdb.c b/coregrind/vgdb.c
index 9057e468d..bcfb6c3dc 100644
--- a/coregrind/vgdb.c
+++ b/coregrind/vgdb.c
@@ -687,10 +687,7 @@ void received_signal (int signum)
sigpipe++;
} else if (signum == SIGALRM) {
sigalrm++;
-#if defined(VGPV_arm_linux_android) \
- || defined(VGPV_x86_linux_android) \
- || defined(VGPV_mips32_linux_android) \
- || defined(VGPV_arm64_linux_android)
+#if defined(__ANDROID__)
/* Android has no pthread_cancel. As it also does not have
an invoker implementation, there is no need for cleanup action.
So, we just do nothing. */