From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1383) id C8B56385702A; Mon, 25 Oct 2021 23:38:40 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C8B56385702A MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Segher Boessenkool To: gcc-cvs@gcc.gnu.org Subject: [gcc r12-4693] rs6000: Fix bootstrap (libffi) X-Act-Checkin: gcc X-Git-Author: Segher Boessenkool X-Git-Refname: refs/heads/master X-Git-Oldrev: d6240ea016ea87d12456f92a7215af28c3dc3316 X-Git-Newrev: 90205f67e465ae7dfcf733c2b2b177ca7ff68da0 Message-Id: <20211025233840.C8B56385702A@sourceware.org> Date: Mon, 25 Oct 2021 23:38:40 +0000 (GMT) X-BeenThere: gcc-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Oct 2021 23:38:40 -0000 https://gcc.gnu.org/g:90205f67e465ae7dfcf733c2b2b177ca7ff68da0 commit r12-4693-g90205f67e465ae7dfcf733c2b2b177ca7ff68da0 Author: Segher Boessenkool Date: Mon Oct 25 23:29:26 2021 +0000 rs6000: Fix bootstrap (libffi) This fixes bootstrap for the current problems building libffi. 2021-10-25 Segher Boessenkool libffi/ * src/powerpc/linux64.S: Enable AltiVec insns. * src/powerpc/linux64_closure.S: Ditto. Diff: --- libffi/src/powerpc/linux64.S | 2 ++ libffi/src/powerpc/linux64_closure.S | 2 ++ 2 files changed, 4 insertions(+) diff --git a/libffi/src/powerpc/linux64.S b/libffi/src/powerpc/linux64.S index e92d64af34f..1f876ea39ed 100644 --- a/libffi/src/powerpc/linux64.S +++ b/libffi/src/powerpc/linux64.S @@ -29,6 +29,8 @@ #include #include + .machine altivec + #ifdef POWERPC64 .hidden ffi_call_LINUX64 .globl ffi_call_LINUX64 diff --git a/libffi/src/powerpc/linux64_closure.S b/libffi/src/powerpc/linux64_closure.S index 3469a2cbb01..199981db330 100644 --- a/libffi/src/powerpc/linux64_closure.S +++ b/libffi/src/powerpc/linux64_closure.S @@ -30,6 +30,8 @@ .file "linux64_closure.S" + .machine altivec + #ifdef POWERPC64 FFI_HIDDEN (ffi_closure_LINUX64) .globl ffi_closure_LINUX64