-
Notifications
You must be signed in to change notification settings - Fork 561
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Libffi] Temporary revert to 3.2.2 to build for aarch64-freebsd (#10016)
* [Libffi] Temporary revert to 3.2.2 to build for aarch64-freebsd * fixup! [Libffi] Temporary revert to 3.2.2 to build for aarch64-freebsd
- Loading branch information
1 parent
2569873
commit c82c599
Showing
3 changed files
with
74 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
--- libffi-3.2.1-orig/configure.ac 2021-11-18 00:13:42.753131022 -0500 | ||
+++ libffi-3.2.1/configure.ac 2021-11-18 00:14:43.014058771 -0500 | ||
@@ -590,26 +590,7 @@ | ||
AC_DEFINE(USING_PURIFY, 1, [Define this if you are using Purify and want to suppress spurious messages.]) | ||
fi) | ||
|
||
-# These variables are only ever used when we cross-build to X86_WIN32. | ||
-# And we only support this with GCC, so... | ||
-if test "x$GCC" = "xyes"; then | ||
- if test -n "$with_cross_host" && | ||
- test x"$with_cross_host" != x"no"; then | ||
- toolexecdir="${exec_prefix}"/'$(target_alias)' | ||
- toolexeclibdir="${toolexecdir}"/lib | ||
- else | ||
- toolexecdir="${libdir}"/gcc-lib/'$(target_alias)' | ||
- toolexeclibdir="${libdir}" | ||
- fi | ||
- multi_os_directory=`$CC $CFLAGS -print-multi-os-directory` | ||
- case $multi_os_directory in | ||
- .) ;; # Avoid trailing /. | ||
- ../*) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;; | ||
- esac | ||
- AC_SUBST(toolexecdir) | ||
-else | ||
- toolexeclibdir="${libdir}" | ||
-fi | ||
+toolexeclibdir="${libdir}" | ||
AC_SUBST(toolexeclibdir) | ||
|
||
AC_CONFIG_COMMANDS(include, [test -d include || mkdir include]) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
--- libffi-clean/src/aarch64/sysv.S 2014-11-08 13:47:24.000000000 +0100 | ||
+++ libffi-3.2.1/src/aarch64/sysv.S 2024-12-14 13:17:42.329889690 +0100 | ||
@@ -100,8 +100,8 @@ | ||
|
||
#define ffi_call_SYSV_FS (8 * 4) | ||
|
||
- .cfi_startproc | ||
CNAME(ffi_call_SYSV): | ||
+ .cfi_startproc | ||
stp x29, x30, [sp, #-16]! | ||
cfi_adjust_cfa_offset (16) | ||
cfi_rel_offset (x29, 0) | ||
@@ -247,8 +247,8 @@ | ||
#ifdef __APPLE__ | ||
.align 2 | ||
#endif | ||
- .cfi_startproc | ||
CNAME(ffi_closure_SYSV): | ||
+ .cfi_startproc | ||
stp x29, x30, [sp, #-16]! | ||
cfi_adjust_cfa_offset (16) | ||
cfi_rel_offset (x29, 0) |