mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-04-21 14:23:26 +00:00
dynasm: fix |.align on Arm64
Used an illegal 32bit arm instruction for nop.
This commit is contained in:
parent
43ebb949a2
commit
21f30e9d6c
@ -438,7 +438,7 @@ int dasm_encode(Dst_DECL, void *buffer)
|
||||
n = DASM_EXTERN(Dst, (unsigned char *)cp, (ins&2047), !(ins&2048));
|
||||
goto patchrel;
|
||||
case DASM_ALIGN:
|
||||
ins &= 255; while ((((char *)cp - base) & ins)) *cp++ = 0xe1a00000;
|
||||
ins &= 255; while ((((char *)cp - base) & ins)) *cp++ = 0xd503201f;
|
||||
break;
|
||||
case DASM_REL_LG:
|
||||
if (n < 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user