dasm: Fix %arch statement.
authorMichael Buesch <mb@bu3sch.de>
Fri, 16 Nov 2007 22:03:00 +0000 (23:03 +0100)
committerMichael Buesch <mb@bu3sch.de>
Fri, 16 Nov 2007 22:03:00 +0000 (23:03 +0100)
Signed-off-by: Michael Buesch <mb@bu3sch.de>
disassembler/main.c

index 64e997533f6bc7222dab837dfc77fbf961698602..e984480ebedce68de9ae477c2672021c65e59aa7 100644 (file)
@@ -644,7 +644,8 @@ static void emit_asm(struct disassembler_context *ctx)
                        outfile_name);
                exit(1);
        }
-       fprintf(fd, "%%arch bcm43xx_newworld\n\n");
+       /* FIXME: We currently only support v5 architecture. */
+       fprintf(fd, "%%arch 5\n\n");
        list_for_each_entry(stmt, &ctx->stmt_list, list) {
                switch (stmt->type) {
                case STMT_INSN: