aboutsummaryrefslogtreecommitdiff
path: root/dyngen.c
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-05-27 23:29:48 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-05-27 23:29:48 +0000
commita513fe19ac4896a09c6c338204d76c39e652451f (patch)
tree7a8db2852cb3d88849cbe69ade4129983a3a2b5b /dyngen.c
parentf4beb510a41980e119f787746442ca1b87c06754 (diff)
downloadqemu-a513fe19ac4896a09c6c338204d76c39e652451f.zip
qemu-a513fe19ac4896a09c6c338204d76c39e652451f.tar.gz
qemu-a513fe19ac4896a09c6c338204d76c39e652451f.tar.bz2
precise exceptions
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@194 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'dyngen.c')
-rw-r--r--dyngen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dyngen.c b/dyngen.c
index 96a47c8..4ed8b4b 100644
--- a/dyngen.c
+++ b/dyngen.c
@@ -451,7 +451,7 @@ void gen_code(const char *name, host_ulong offset, host_ulong size,
}
if (gen_switch == 2) {
- fprintf(outfile, "DEF(%s, %d)\n", name + 3, nb_args);
+ fprintf(outfile, "DEF(%s, %d, %d)\n", name + 3, nb_args, copy_size);
} else if (gen_switch == 1) {
/* output C code */
@@ -991,7 +991,7 @@ int load_elf(const char *filename, FILE *outfile, int do_print_enum)
}
if (do_print_enum) {
- fprintf(outfile, "DEF(end, 0)\n");
+ fprintf(outfile, "DEF(end, 0, 0)\n");
for(i = 0, sym = symtab; i < nb_syms; i++, sym++) {
const char *name, *p;
name = strtab + sym->st_name;