+2017-01-31 Jakub Jelinek <jakub@redhat.com>
+
+ * config/s390/s390.c (s390_asan_shadow_offset): New function.
+ (TARGET_ASAN_SHADOW_OFFSET): Redefine.
+
2017-01-31 Michael Meissner <meissner@linux.vnet.ibm.com>
PR target/78597
return FLT_EVAL_METHOD_UNPREDICTABLE;
}
+/* Implement the TARGET_ASAN_SHADOW_OFFSET hook. */
+
+static unsigned HOST_WIDE_INT
+s390_asan_shadow_offset (void)
+{
+ return TARGET_64BIT ? HOST_WIDE_INT_1U << 52 : HOST_WIDE_INT_UC (0x20000000);
+}
+
/* Initialize GCC target structure. */
#undef TARGET_ASM_ALIGNED_HI_OP
#define TARGET_BUILD_BUILTIN_VA_LIST s390_build_builtin_va_list
#undef TARGET_EXPAND_BUILTIN_VA_START
#define TARGET_EXPAND_BUILTIN_VA_START s390_va_start
+#undef TARGET_ASAN_SHADOW_OFFSET
+#define TARGET_ASAN_SHADOW_OFFSET s390_asan_shadow_offset
#undef TARGET_GIMPLIFY_VA_ARG_EXPR
#define TARGET_GIMPLIFY_VA_ARG_EXPR s390_gimplify_va_arg
+2017-01-31 Jakub Jelinek <jakub@redhat.com>
+
+ * configure.tgt: Enable asan and ubsan on 64-bit s390*-*-linux*.
+
2017-01-24 Jakub Jelinek <jakub@redhat.com>
* configure.tgt: Enable tsan and lsan on powerpc64{,le}-*-linux*.