public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-4693] rs6000: Fix bootstrap (libffi)
@ 2021-10-25 23:38 Segher Boessenkool
0 siblings, 0 replies; only message in thread
From: Segher Boessenkool @ 2021-10-25 23:38 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:90205f67e465ae7dfcf733c2b2b177ca7ff68da0
commit r12-4693-g90205f67e465ae7dfcf733c2b2b177ca7ff68da0
Author: Segher Boessenkool <segher@kernel.crashing.org>
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 <segher@kernel.crashing.org>
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 <fficonfig.h>
#include <ffi.h>
+ .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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-10-25 23:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-25 23:38 [gcc r12-4693] rs6000: Fix bootstrap (libffi) Segher Boessenkool
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).