mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-08 07:34:07 +00:00
Fix compiler warning.
This commit is contained in:
parent
fd1a8ddb3c
commit
a6936be814
@ -100,7 +100,7 @@ static void emit_asm_wordreloc(BuildCtx *ctx, uint8_t *p, int n,
|
|||||||
fprintf(ctx->fp, "\tblx %s\n", sym);
|
fprintf(ctx->fp, "\tblx %s\n", sym);
|
||||||
} else if ((ins & 0x0e000000u) == 0x0a000000u) {
|
} else if ((ins & 0x0e000000u) == 0x0a000000u) {
|
||||||
fprintf(ctx->fp, "\t%s%.2s %s\n", (ins & 0x01000000u) ? "bl" : "b",
|
fprintf(ctx->fp, "\t%s%.2s %s\n", (ins & 0x01000000u) ? "bl" : "b",
|
||||||
"eqnecsccmiplvsvchilsgeltgtle" + 2*(ins >> 28), sym);
|
&"eqnecsccmiplvsvchilsgeltgtle"[2*(ins >> 28)], sym);
|
||||||
} else {
|
} else {
|
||||||
fprintf(stderr,
|
fprintf(stderr,
|
||||||
"Error: unsupported opcode %08x for %s symbol relocation.\n",
|
"Error: unsupported opcode %08x for %s symbol relocation.\n",
|
||||||
|
Loading…
Reference in New Issue
Block a user