ARM64: Fix ELF bytecode saving.

This commit is contained in:
Mike Pall 2015-08-26 09:48:05 +02:00
parent fb77f7dee7
commit ad29314c2c

View File

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