diff options
Diffstat (limited to 'src/jit')
| -rw-r--r-- | src/jit/bcsave.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/jit/bcsave.lua b/src/jit/bcsave.lua index 8303263d..05bc78d6 100644 --- a/src/jit/bcsave.lua +++ b/src/jit/bcsave.lua | |||
| @@ -63,7 +63,7 @@ local map_type = { | |||
| 63 | } | 63 | } |
| 64 | 64 | ||
| 65 | local map_arch = { | 65 | local map_arch = { |
| 66 | x86 = true, x64 = true, arm = true, ppc = true, ppcspe = true, | 66 | x86 = true, x64 = true, arm = true, ppc = true, |
| 67 | mips = true, mipsel = true, | 67 | mips = true, mipsel = true, |
| 68 | } | 68 | } |
| 69 | 69 | ||
| @@ -202,7 +202,7 @@ typedef struct { | |||
| 202 | local is64, isbe = false, false | 202 | local is64, isbe = false, false |
| 203 | if ctx.arch == "x64" then | 203 | if ctx.arch == "x64" then |
| 204 | is64 = true | 204 | is64 = true |
| 205 | elseif ctx.arch == "ppc" or ctx.arch == "ppcspe" or ctx.arch == "mips" then | 205 | elseif ctx.arch == "ppc" or ctx.arch == "mips" then |
| 206 | isbe = true | 206 | isbe = true |
| 207 | end | 207 | end |
| 208 | 208 | ||
| @@ -237,7 +237,7 @@ typedef struct { | |||
| 237 | hdr.eendian = isbe and 2 or 1 | 237 | hdr.eendian = isbe and 2 or 1 |
| 238 | hdr.eversion = 1 | 238 | hdr.eversion = 1 |
| 239 | hdr.type = f16(1) | 239 | hdr.type = f16(1) |
| 240 | hdr.machine = f16(({ x86=3, x64=62, arm=40, ppc=20, ppcspe=20, mips=8, mipsel=8 })[ctx.arch]) | 240 | hdr.machine = f16(({ x86=3, x64=62, arm=40, ppc=20, mips=8, mipsel=8 })[ctx.arch]) |
| 241 | if ctx.arch == "mips" or ctx.arch == "mipsel" then | 241 | if ctx.arch == "mips" or ctx.arch == "mipsel" then |
| 242 | hdr.flags = 0x50001006 | 242 | hdr.flags = 0x50001006 |
| 243 | end | 243 | end |
