From 5a4774cd4d90f9ea7e7f9e34b15de29463aba4c4 Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Fri, 22 Jul 2022 05:56:30 +0800 Subject: 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. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure.ac') 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]) ;; -- cgit v1.2.1