mirror of
https://github.com/gcc-mirror/gcc.git
synced 2024-11-21 13:40:47 +00:00
libffi: LoongArch: Fix soft-float builds of libffi
This patch correspond to the upstream PR: https://github.com/libffi/libffi/pull/817 And has been merged. libffi/ChangeLog: * src/loongarch64/ffi.c: Avoid defining floats in struct call_context if the ABI is soft-float.
This commit is contained in:
parent
8df549fc2c
commit
a616b7e1db
@ -58,7 +58,9 @@
|
||||
*/
|
||||
typedef struct call_context
|
||||
{
|
||||
#if !defined(__loongarch_soft_float)
|
||||
ABI_FLOAT fa[8];
|
||||
#endif
|
||||
size_t a[10];
|
||||
} call_context;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user