From 8790f572ea92bd4621941da251b98856c0f58901 Mon Sep 17 00:00:00 2001 From: Venkataramanan Kumar Date: Sat, 24 Jan 2015 15:21:51 +0000 Subject: [PATCH] Include TSAN dependent sources for 64 bit i?86 target. 2015-01-25 Venkataramanan Kumar * configure.ac (TSAN_TARGET_DEPENDENT_OBJECTS): Undefine. * configure: Regenerate. * configure.tgt (TSAN_TARGET_DEPENDENT_OBJECTS): Define. From-SVN: r220083 --- libsanitizer/ChangeLog | 6 ++++++ libsanitizer/configure | 4 ---- libsanitizer/configure.ac | 4 ---- libsanitizer/configure.tgt | 2 ++ 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/libsanitizer/ChangeLog b/libsanitizer/ChangeLog index 8c34302ce9e..560f6f66e30 100644 --- a/libsanitizer/ChangeLog +++ b/libsanitizer/ChangeLog @@ -1,3 +1,9 @@ +2015-01-25 Venkataramanan Kumar + + * configure.ac (TSAN_TARGET_DEPENDENT_OBJECTS): Undefine. + * configure: Regenerate. + * configure.tgt (TSAN_TARGET_DEPENDENT_OBJECTS): Define. + 2015-01-25 Venkataramanan Kumar * configure.ac (TSAN_TARGET_DEPENDENT_OBJECTS): Define. diff --git a/libsanitizer/configure b/libsanitizer/configure index 4a90acfe85b..a2a96b76a3f 100755 --- a/libsanitizer/configure +++ b/libsanitizer/configure @@ -16363,10 +16363,6 @@ if test "x$TSAN_SUPPORTED" = "xyes"; then fi -case "${target}" in - x86_64-*-linux-*) TSAN_TARGET_DEPENDENT_OBJECTS='tsan_rtl_amd64.lo' ;; - *) TSAN_TARGET_DEPENDENT_OBJECTS='' ;; -esac cat >confcache <<\_ACEOF diff --git a/libsanitizer/configure.ac b/libsanitizer/configure.ac index 03208db6632..311ebff47d4 100644 --- a/libsanitizer/configure.ac +++ b/libsanitizer/configure.ac @@ -346,10 +346,6 @@ _EOF ]) fi -case "${target}" in - x86_64-*-linux-*) TSAN_TARGET_DEPENDENT_OBJECTS='tsan_rtl_amd64.lo' ;; - *) TSAN_TARGET_DEPENDENT_OBJECTS='' ;; -esac AC_SUBST([TSAN_TARGET_DEPENDENT_OBJECTS]) AC_OUTPUT diff --git a/libsanitizer/configure.tgt b/libsanitizer/configure.tgt index 2c302ab6489..0b14cd830f8 100644 --- a/libsanitizer/configure.tgt +++ b/libsanitizer/configure.tgt @@ -19,11 +19,13 @@ # lets us skip running autoconf when modifying target specific information. # Filter out unsupported systems. +TSAN_TARGET_DEPENDENT_OBJECTS= case "${target}" in x86_64-*-linux* | i?86-*-linux*) if test x$ac_cv_sizeof_void_p = x8; then TSAN_SUPPORTED=yes LSAN_SUPPORTED=yes + TSAN_TARGET_DEPENDENT_OBJECTS=tsan_rtl_amd64.lo fi ;; powerpc*le-*-linux*) -- 2.30.2