mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-04-22 06:43:27 +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));
|
n = DASM_EXTERN(Dst, (unsigned char *)cp, (ins&2047), !(ins&2048));
|
||||||
goto patchrel;
|
goto patchrel;
|
||||||
case DASM_ALIGN:
|
case DASM_ALIGN:
|
||||||
ins &= 255; while ((((char *)cp - base) & ins)) *cp++ = 0xe1a00000;
|
ins &= 255; while ((((char *)cp - base) & ins)) *cp++ = 0xd503201f;
|
||||||
break;
|
break;
|
||||||
case DASM_REL_LG:
|
case DASM_REL_LG:
|
||||||
if (n < 0) {
|
if (n < 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user