diff options
author | Mike Pall <mike> | 2013-08-22 19:29:09 +0200 |
---|---|---|
committer | Mike Pall <mike> | 2013-08-22 19:29:09 +0200 |
commit | a6936be814adee5d4d61e729d91b2c3dd8e16e6e (patch) | |
tree | ee18d62157f5ac39adfc0269c25e2d6a60559d79 | |
parent | fd1a8ddb3ce5f22724b411c4dbc2550bd8776eba (diff) | |
download | luajit-a6936be814adee5d4d61e729d91b2c3dd8e16e6e.tar.gz luajit-a6936be814adee5d4d61e729d91b2c3dd8e16e6e.tar.bz2 luajit-a6936be814adee5d4d61e729d91b2c3dd8e16e6e.zip |
Fix compiler warning.
-rw-r--r-- | src/host/buildvm_asm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/host/buildvm_asm.c b/src/host/buildvm_asm.c index f18d1493..6117c7ed 100644 --- a/src/host/buildvm_asm.c +++ b/src/host/buildvm_asm.c | |||
@@ -100,7 +100,7 @@ static void emit_asm_wordreloc(BuildCtx *ctx, uint8_t *p, int n, | |||
100 | fprintf(ctx->fp, "\tblx %s\n", sym); | 100 | fprintf(ctx->fp, "\tblx %s\n", sym); |
101 | } else if ((ins & 0x0e000000u) == 0x0a000000u) { | 101 | } else if ((ins & 0x0e000000u) == 0x0a000000u) { |
102 | fprintf(ctx->fp, "\t%s%.2s %s\n", (ins & 0x01000000u) ? "bl" : "b", | 102 | fprintf(ctx->fp, "\t%s%.2s %s\n", (ins & 0x01000000u) ? "bl" : "b", |
103 | "eqnecsccmiplvsvchilsgeltgtle" + 2*(ins >> 28), sym); | 103 | &"eqnecsccmiplvsvchilsgeltgtle"[2*(ins >> 28)], sym); |
104 | } else { | 104 | } else { |
105 | fprintf(stderr, | 105 | fprintf(stderr, |
106 | "Error: unsupported opcode %08x for %s symbol relocation.\n", | 106 | "Error: unsupported opcode %08x for %s symbol relocation.\n", |