src/ia64/unix.S: unbreak small struct handling
authorSergei Trofimovich <slyfox@gentoo.org>
Tue, 17 Oct 2017 12:00:51 +0000 (13:00 +0100)
committerSergei Trofimovich <slyfox@gentoo.org>
Tue, 17 Oct 2017 12:00:51 +0000 (13:00 +0100)
commited7488c003765c7ee71b7da3e8c21f431b043809
tree68fb91b42d558d710d52bd2c9da639327060a502
parent1c9171ec89943d9b4b10a54091c8b5c104eb258d
src/ia64/unix.S: unbreak small struct handling

commit 6e8a4460833594d5af1b4539178025da0077df19
added FFI_TYPE_COMPLEX value type (comes after FFI_TYPE_POINTER)

ia64 ffi_closure_unix reiles on the ordering of
FFI_ enums as ia64 has ia64-specific FFI types:
small struct and FPU extesions.

As a result all tests handling small structs broke.

The change fixes dispatch table by adding (no-op)
FFI_TYPE_COMPLEX entry
This has positive effect of unbreaking most tests
on ia64:

                 === libffi Summary ===

-# of expected passes            1595
-# of unexpected failures        295
+# of expected passes            1930
+# of unexpected failures        10
 # of unsupported tests          30

Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
src/ia64/unix.S