889482aab3
GitOrigin-RevId: f2537a505d45c31fe5d9c27ea9829b6f4c4e6ac5
23 lines
480 B
Diff
23 lines
480 B
Diff
https://github.com/libffi/libffi/issues/668
|
|
--- a/src/powerpc/linux64.S
|
|
+++ b/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
|
|
--- a/src/powerpc/linux64_closure.S
|
|
+++ b/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
|