Browse Source

ARM64: Fix ELF bytecode saving.

Mike Pall 10 years ago
parent
commit
ad29314c2c
1 changed files with 1 additions and 1 deletions
  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