Package: luajit / 2.1.0~beta3+dfsg-5.1

Metadata

Package Version Patches format
luajit 2.1.0~beta3+dfsg-5.1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 consider Hurd as a POSIX system.patch | (download)

src/Makefile | 3 3 + 0 - 0 !
src/lj_arch.h | 2 2 + 0 - 0 !
2 files changed, 5 insertions(+)

 consider hurd as a posix system


0002 Enable debugging symbols in the build.patch | (download)

src/Makefile | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 enable debugging symbols in the build


0003 Get rid of LUAJIT_VERSION_SYM that changes ABI on ev.patch | (download)

src/lj_dispatch.c | 5 0 + 5 - 0 !
src/luajit.c | 2 0 + 2 - 0 !
src/luajit.h | 3 0 + 3 - 0 !
3 files changed, 10 deletions(-)

 get rid of luajit_version_sym that changes abi on every patch release


0004 Add ppc64 support based on koriakin GitHub patchset.patch | (download)

dynasm/dasm_ppc.lua | 5 5 + 0 - 0 !
src/Makefile | 11 10 + 1 - 0 !
src/host/buildvm_asm.c | 16 6 + 10 - 0 !
src/lj_arch.h | 18 10 + 8 - 0 !
src/lj_ccall.c | 166 165 + 1 - 0 !
src/lj_ccall.h | 13 13 + 0 - 0 !
src/lj_ccallback.c | 68 64 + 4 - 0 !
src/lj_ctype.h | 2 1 + 1 - 0 !
src/lj_def.h | 4 4 + 0 - 0 !
src/lj_frame.h | 9 9 + 0 - 0 !
src/lj_target_ppc.h | 14 14 + 0 - 0 !
src/vm_ppc.dasc | 1290 861 + 429 - 0 !
12 files changed, 1162 insertions(+), 454 deletions(-)

 new patch proposal for ppc64 support

 Create a patch for PPC64 support based on 
https://github.com/LuaJIT/LuaJIT/pull/140.
 It replaces the old patch since this new one is more likely to be merged 
with luajit upstream.


0005 Make ccall_copy_struct static to unpollute global li.patch | (download)

src/lj_ccall.c | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 make ccall_copy_struct static to unpollute global library namespace


0006 Fix register allocation bug in arm64.patch | (download)

src/lj_asm_arm64.h | 3 1 + 2 - 0 !
1 file changed, 1 insertion(+), 2 deletions(-)

 fix register allocation bug in arm64


a057a07ab702e225e21848d4f918886c5b0ac06b.patch | (download)

src/lj_arch.h | 4 1 + 3 - 0 !
src/lj_asm.c | 8 4 + 4 - 0 !
src/lj_asm_mips.h | 217 179 + 38 - 0 !
src/lj_crecord.c | 4 2 + 2 - 0 !
src/lj_emit_mips.h | 2 2 + 0 - 0 !
src/lj_ffrecord.c | 2 1 + 1 - 0 !
src/lj_ircall.h | 43 29 + 14 - 0 !
src/lj_iropt.h | 2 1 + 1 - 0 !
src/lj_jit.h | 4 2 + 2 - 0 !
src/lj_obj.h | 3 3 + 0 - 0 !
src/lj_opt_split.c | 2 1 + 1 - 0 !
src/lj_snap.c | 21 12 + 9 - 0 !
src/vm_mips64.dasc | 49 49 + 0 - 0 !
13 files changed, 286 insertions(+), 75 deletions(-)

 [patch] mips64: add soft-float support to jit compiler backend.

Contributed by Djordje Kovacevic and Stefan Pejic from RT-RK.com.
Sponsored by Cisco Systems, Inc.

362.patch | (download)

src/lj_asm_mips.h | 42 25 + 17 - 0 !
1 file changed, 25 insertions(+), 17 deletions(-)

 [patch] mips64: fix href evicting a register in a branch delay slot

If asm_href is called in 64-bit mode to search for a string constant (for
example), and if the HREF is merged with an EQ guard, then it is
possible for a constant register to be evicted by a call to ra_allock
inside a branch delay slot. This causes the instruction loading into RID_TMP
which was supposed to be in the delay slot, to be moved after the branch and
not executed if the branch was taken. With the wrong value in RID_TMP,
lj_vm_exit_handler will later load a garbage exit number and luajit will later
crash.

Fix by moving the constant register allocations above the main
instruction emitting code in asm_href.