diff options
author | Segher Boessenkool <segher@kernel.crashing.org> | 2021-10-25 23:29:26 +0000 |
---|---|---|
committer | Segher Boessenkool <segher@kernel.crashing.org> | 2021-10-25 23:37:35 +0000 |
commit | 90205f67e465ae7dfcf733c2b2b177ca7ff68da0 (patch) | |
tree | dd12a6c194b3917e67ba7eaf7c31f9608a26f8f8 | |
parent | d6240ea016ea87d12456f92a7215af28c3dc3316 (diff) | |
download | gcc-90205f67e465ae7dfcf733c2b2b177ca7ff68da0.zip gcc-90205f67e465ae7dfcf733c2b2b177ca7ff68da0.tar.gz gcc-90205f67e465ae7dfcf733c2b2b177ca7ff68da0.tar.bz2 |
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.
-rw-r--r-- | libffi/src/powerpc/linux64.S | 2 | ||||
-rw-r--r-- | libffi/src/powerpc/linux64_closure.S | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/libffi/src/powerpc/linux64.S b/libffi/src/powerpc/linux64.S index e92d64a..1f876ea 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 3469a2c..199981d 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 |