From 7f63a854004e39660c926c7f6974638650e5fc18 Mon Sep 17 00:00:00 2001 From: Segher Boessenkool Date: Mon, 27 May 2019 21:12:19 +0200 Subject: [PATCH] rs6000: Fix sanitizer build (PR90639) The assembler code needs to say it uses AltiVec instructions. libsanitizer/ PR target/90639 * tsan/tsan_rtl_ppc64.S: Add ".machine altivec". From-SVN: r271668 --- libsanitizer/ChangeLog | 5 +++++ libsanitizer/tsan/tsan_rtl_ppc64.S | 1 + 2 files changed, 6 insertions(+) diff --git a/libsanitizer/ChangeLog b/libsanitizer/ChangeLog index e7ebc7d9b74..ff11c88d034 100644 --- a/libsanitizer/ChangeLog +++ b/libsanitizer/ChangeLog @@ -1,3 +1,8 @@ +2019-05-27 Segher Boessenkool + + PR target/90639 + * tsan/tsan_rtl_ppc64.S: Add ".machine altivec". + 2019-05-14 Rainer Orth * configure.ac (have_dl_iterate_phdr): Remove *-*-solaris2.10* diff --git a/libsanitizer/tsan/tsan_rtl_ppc64.S b/libsanitizer/tsan/tsan_rtl_ppc64.S index 8285e21aa1e..9e533a71a9c 100644 --- a/libsanitizer/tsan/tsan_rtl_ppc64.S +++ b/libsanitizer/tsan/tsan_rtl_ppc64.S @@ -1,5 +1,6 @@ #include "tsan_ppc_regs.h" + .machine altivec .section .text .hidden __tsan_setjmp .globl _setjmp -- 2.30.2