From 4997a71dbb815a65be536ad1a5e70cf95a63c6ab Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Tue, 31 Jan 2017 14:50:20 +0100 Subject: s390.c (s390_asan_shadow_offset): New function. gcc/ * config/s390/s390.c (s390_asan_shadow_offset): New function. (TARGET_ASAN_SHADOW_OFFSET): Redefine. libsanitizer/ * configure.tgt: Enable asan and ubsan on 64-bit s390*-*-linux*. From-SVN: r245060 --- libsanitizer/ChangeLog | 4 ++++ libsanitizer/configure.tgt | 5 +++++ 2 files changed, 9 insertions(+) (limited to 'libsanitizer') diff --git a/libsanitizer/ChangeLog b/libsanitizer/ChangeLog index b0a4546f960..97728e766c6 100644 --- a/libsanitizer/ChangeLog +++ b/libsanitizer/ChangeLog @@ -1,3 +1,7 @@ +2017-01-31 Jakub Jelinek + + * configure.tgt: Enable asan and ubsan on 64-bit s390*-*-linux*. + 2017-01-24 Jakub Jelinek * configure.tgt: Enable tsan and lsan on powerpc64{,le}-*-linux*. diff --git a/libsanitizer/configure.tgt b/libsanitizer/configure.tgt index c59b2cd919b..e648051aab8 100644 --- a/libsanitizer/configure.tgt +++ b/libsanitizer/configure.tgt @@ -39,6 +39,11 @@ case "${target}" in ;; sparc*-*-linux*) ;; + s390*-*-linux*) + if test x$ac_cv_sizeof_void_p = x4; then + UNSUPPORTED=1 + fi + ;; arm*-*-linux*) ;; aarch64*-*-linux*) -- cgit v1.2.3