Projects
openEuler:24.03:SP1:Everything
libffi
_service:tar_scm:fix-AARCH64EB-support.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:fix-AARCH64EB-support.patch of Package libffi
From f34e5ab850b1d1d3cceedd6e409a07a051f5ee55 Mon Sep 17 00:00:00 2001 From: Xin Shi <shixin21@huawei.com> Date: Thu, 25 May 2023 14:38:06 +0800 Subject: [PATCH] fix AARCH64EB support Signed-off-by: Xin Shi <shixin21@huawei.com> --- src/aarch64/ffi.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/aarch64/ffi.c b/src/aarch64/ffi.c index 6544ac0..0111aa6 100644 --- a/src/aarch64/ffi.c +++ b/src/aarch64/ffi.c @@ -758,6 +758,10 @@ ffi_call_int (ffi_cif *cif, void (*fn)(void), void *orig_rvalue, } state.nsrn = N_V_ARG_REG; dest = allocate_to_stack (&state, stack, ty->alignment, s); +#ifdef __AARCH64EB__ + if (t == FFI_TYPE_FLOAT) + dest = dest + 4; +#endif } } else if (s > 16) -- 2.27.0
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2