summaryrefslogtreecommitdiff
path: root/src/mips/ffitarget.h
diff options
context:
space:
mode:
authorYunQiang Su <syq@debian.org>2022-05-16 09:47:11 +0800
committerGitHub <noreply@github.com>2022-05-15 21:47:11 -0400
commit2e825e219fa06d308b9a9863d70320606d67490d (patch)
tree8856f4954c263be74aebba36457a0e10d6c79e6c /src/mips/ffitarget.h
parent1f1c33753b65a75216770928018e8932168e8908 (diff)
downloadlibffi-2e825e219fa06d308b9a9863d70320606d67490d.tar.gz
MIPS: fix some N32 test failure (#701)
Some go closure and pointer testcase fails. These failures is not introduced by the complex support code.
Diffstat (limited to 'src/mips/ffitarget.h')
-rw-r--r--src/mips/ffitarget.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/mips/ffitarget.h b/src/mips/ffitarget.h
index 61d04f9..294c3ba 100644
--- a/src/mips/ffitarget.h
+++ b/src/mips/ffitarget.h
@@ -112,10 +112,11 @@
#define FFI_TYPE_STRUCT_SMALL 93
#define FFI_TYPE_STRUCT_SMALL2 109
-#define FFI_TYPE_COMPLEX_II 95
-#define FFI_TYPE_COMPLEX_FF 47
-#define FFI_TYPE_COMPLEX_DD 63
-#define FFI_TYPE_COMPLEX_LDLD 79
+#define FFI_TYPE_COMPLEX_SMALL 95
+#define FFI_TYPE_COMPLEX_SMALL2 111
+#define FFI_TYPE_COMPLEX_FF 47
+#define FFI_TYPE_COMPLEX_DD 63
+#define FFI_TYPE_COMPLEX_LDLD 79
/* and for n32 soft float, add 16 * 2^4 */
#define FFI_TYPE_STRUCT_D_SOFT 317