Explorar o código

ARM64: Fix ELF bytecode saving.

Mike Pall %!s(int64=10) %!d(string=hai) anos
pai
achega
ad29314c2c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/jit/bcsave.lua

+ 1 - 1
src/jit/bcsave.lua

@@ -200,7 +200,7 @@ typedef struct {
 ]]
   local symname = LJBC_PREFIX..ctx.modname
   local is64, isbe = false, false
-  if ctx.arch == "x64" then
+  if ctx.arch == "x64" or ctx.arch == "arm64" then
     is64 = true
   elseif ctx.arch == "ppc" or ctx.arch == "mips" then
     isbe = true