Package: ffcall / 2.2-1

Metadata

Package Version Patches format
ffcall 2.2-1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
mips r6.patch | (download)

avcall/avcall-mips64eb-macro.S | 28 28 + 0 - 0 !
avcall/avcall-mips64el-macro.S | 28 28 + 0 - 0 !
avcall/avcall-mipsn32eb-macro.S | 28 28 + 0 - 0 !
avcall/avcall-mipsn32el-macro.S | 32 32 + 0 - 0 !
callback/trampoline_r/trampoline.c | 14 10 + 4 - 0 !
callback/vacall_r/vacall-mips64eb-macro.S | 28 28 + 0 - 0 !
callback/vacall_r/vacall-mips64el-macro.S | 28 28 + 0 - 0 !
callback/vacall_r/vacall-mipsn32eb-macro.S | 28 28 + 0 - 0 !
callback/vacall_r/vacall-mipsn32el-macro.S | 28 28 + 0 - 0 !
trampoline/trampoline.c | 14 10 + 4 - 0 !
vacall/vacall-mips64eb-macro.S | 28 28 + 0 - 0 !
vacall/vacall-mips64el-macro.S | 28 28 + 0 - 0 !
vacall/vacall-mipsn32eb-macro.S | 28 28 + 0 - 0 !
vacall/vacall-mipsn32el-macro.S | 28 28 + 0 - 0 !
14 files changed, 360 insertions(+), 8 deletions(-)

  fix build for mips release 6
 MIPS release 6 dropped some instructions: bnel/beql included. For r6, one
 should use bne/beq as a replacement.
cross.patch | (download)

m4/codeexec.m4 | 3 3 + 0 - 0 !
1 file changed, 3 insertions(+)

 fix ftcbfs due to wrong use of ac_try_run
 ffcall fails to cross build from source, because there are three cases
 where AC_TRY_RUN is used wrongly. The arguments for AC_TRY_RUN are:
  1. program source
  2. success code
  3. failure code
  4. cross compile code
 In three cases, the third argument was skipped. That is evident from the
 comments in the actual third argument hinting that the argument was
 intended for cross compilation but actually got used for the failure
 case. Inserting the missing failure case makes ffcall cross buildable.