diff --git a/0002-libffi-add-sw.patch b/0002-libffi-add-sw.patch index 5ef66f0b6a274a7e234535f3e980700a04d0990e..e7b162af2ed3c784e987bc280a051f4a82c19d13 100644 --- a/0002-libffi-add-sw.patch +++ b/0002-libffi-add-sw.patch @@ -429,10 +429,10 @@ index 0000000..7f14278 + return FFI_BAD_ABI; + + tramp = (unsigned int *) &closure->tramp[0]; -+ tramp[0] = 0x47fb0401; /* mov $27,$1 */ -+ tramp[1] = 0xa77b0010; /* ldq $27,16($27) */ -+ tramp[2] = 0x6bfb0000; /* jmp $31,($27),0 */ -+ tramp[3] = 0x47ff041f; /* nop */ ++ tramp[0] = 0x43fb0741; /* mov $27,$1 */ ++ tramp[1] = 0x8f7b0010; /* ldl $27,16($27) */ ++ tramp[2] = 0x0ffb0000; /* jmp $31,($27),0 */ ++ tramp[3] = 0x43ff075f; /* nop */ + *(void **) &tramp[4] = ffi_closure_osf; + + closure->cif = cif; diff --git a/libffi.spec b/libffi.spec index e36deff408f88210576190fd06fd0664acae62ba..de13305dadbbb8f35bcf03b0cdb62dc3c64947f5 100644 --- a/libffi.spec +++ b/libffi.spec @@ -1,4 +1,4 @@ -%define anolis_release .0.2 +%define anolis_release .0.3 %global multilib_arches %{ix86} ppc ppc64 ppc64p7 s390 s390x x86_64 @@ -151,6 +151,9 @@ fi %{_infodir}/libffi.info.gz %changelog +* Tue Apr 23 2024 wxiat - 3.1-23.0.3 +- cherry-pick `Fixed a bug in code instrumentation #d671299129af807a9842d4836f1f4fddbb532125`. + * Wed Mar 20 2024 wxiat - 3.1-24.0.2 - cherry-pick `add sw patch #021aabd339ad7d7d0552fc9ae64d7252b34a2133`.