Package: ffcall
Version: 2.1-2

Dear Maintainer:
I tried build ffcall for mips64 R6, but it was fail because of illegal 
instruction, and I find the cause is:
in mips64 R6 release, instruction "JALR" is "001001" in binary format, the 
corresponding last hex number is 0x9
but in previous version it is 0x8. So the binary format of instruction "j $25" 
(in file ./trampoline/trampoline.c
and ./callback/trampoline_r/trampoline.c) for R6 is 0x03200009 while for the 
previous version this instruction is 0x03200008

attachment is my patch to fix it, could you help to take a review.
Thanks so much!

Thanks
luyou

Attachment: ffcall_mipsr6.patch
Description: ffcall_mipsr6.patch

Reply via email to