aboutsummaryrefslogtreecommitdiff
path: root/dyngen.c
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-03-02 19:39:42 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-03-02 19:39:42 +0000
commit927f621e7960d3fcf51eecf65ee19b1aafc102ae (patch)
treef445ec702d90c2b7555b1e724c65da9aee55527a /dyngen.c
parent367e86e8476d6373a00d0e56a29b03c4b8f3e2ee (diff)
added float support
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@15 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'dyngen.c')
-rw-r--r--dyngen.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/dyngen.c b/dyngen.c
index ff10891b9e..ce38dcaec4 100644
--- a/dyngen.c
+++ b/dyngen.c
@@ -243,6 +243,8 @@ void gen_code(const char *name, unsigned long offset, unsigned long size,
if (n >= MAX_ARGS)
error("too many arguments in %s", name);
args_present[n - 1] = 1;
+ } else {
+ fprintf(outfile, "extern char %s;\n", sym_name);
}
}
}
@@ -257,6 +259,8 @@ void gen_code(const char *name, unsigned long offset, unsigned long size,
if (n >= MAX_ARGS)
error("too many arguments in %s", name);
args_present[n - 1] = 1;
+ } else {
+ fprintf(outfile, "extern char %s;\n", sym_name);
}
}
}