diff options
author | Xi Ruoyao <xry111@xry111.site> | 2022-07-22 05:56:30 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-21 17:56:30 -0400 |
commit | 5a4774cd4d90f9ea7e7f9e34b15de29463aba4c4 (patch) | |
tree | 2b1063ea2ffa7b4b13c846345256b409f7ab0276 /configure.ac | |
parent | 5264a7c5cd3460465326ebd347559828196dceb1 (diff) | |
download | libffi-5a4774cd4d90f9ea7e7f9e34b15de29463aba4c4.tar.gz |
static trampoline for LoongArch (#723)
For the benefit and technical details of static trampoline, see
https://github.com/libffi/libffi/pull/624. As a new architecture, let's
be "safer" from the start.
The change survived libffi testsuite on loongarch64-linux-gnu.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 4629d2d..e427584 100644 --- a/configure.ac +++ b/configure.ac @@ -375,7 +375,7 @@ if test "$enable_exec_static_tramp" != no; then case "$target" in *-cygwin*) ;; - *arm*-*-linux-* | aarch64*-*-linux-* | i*86-*-linux-* | x86_64-*-linux-*) + *arm*-*-linux-* | aarch64*-*-linux-* | i*86-*-linux-* | x86_64-*-linux-* | loongarch*-*-linux-*) AC_DEFINE(FFI_EXEC_STATIC_TRAMP, 1, [Define this if you want statically defined trampolines]) ;; |