Add sanitizer_linux_x86_64.lo if __x86_64__ is defined by $CC
commit5713d08c298d7cea36b08b0e9fc0403f42dd4e32
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 5 Oct 2017 10:39:32 +0000 (5 10:39 +0000)
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 5 Oct 2017 10:39:32 +0000 (5 10:39 +0000)
treef6db078c6443bbd6b3ebc240dfd7abf30ba29125
parent391f5d5da8cdd61681959dbf63a36e68d9ac7876
Add sanitizer_linux_x86_64.lo if __x86_64__ is defined by $CC

Since size of "void *" is 4 bytes for x32, check if __x86_64__ is defined
by $CC, instead of

if test x$ac_cv_sizeof_void_p = x8; then

to decide wether sanitizer_linux_x86_64.lo should be used.

PR sanitizer/82379
* configure.tgt (SANITIZER_COMMON_TARGET_DEPENDENT_OBJECTS): Set
to sanitizer_linux_x86_64.lo if __x86_64__ is defined by $CC.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@253441 138bc75d-0d04-0410-961f-82ee72b054a4
libsanitizer/ChangeLog
libsanitizer/configure.tgt