From: Michael Buesch Date: Sun, 19 Sep 2010 18:34:33 +0000 (+0200) Subject: disassembler: Emit %start directive. This avoids a warning when re-assembling X-Git-Tag: b43-fwcutter-014~34 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=28703f82744ed3eb122ae33474e9c53f4fe528d3;p=b43-tools.git disassembler: Emit %start directive. This avoids a warning when re-assembling Signed-off-by: Michael Buesch --- diff --git a/disassembler/main.c b/disassembler/main.c index a305bef..76295fd 100644 --- a/disassembler/main.c +++ b/disassembler/main.c @@ -749,7 +749,9 @@ static void emit_asm(struct disassembler_context *ctx) if (err) exit(1); - fprintf(outfile, "%%arch %u\n\n", ctx->arch); + fprintf(outfile, "%%arch %u\n", ctx->arch); + fprintf(outfile, "%%start entry\n\n"); + fprintf(outfile, "entry:\n"); list_for_each_entry(stmt, &ctx->stmt_list, list) { switch (stmt->type) { case STMT_INSN: