aboutsummaryrefslogtreecommitdiff
path: root/tccrun.c
diff options
context:
space:
mode:
Diffstat (limited to 'tccrun.c')
-rw-r--r--tccrun.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/tccrun.c b/tccrun.c
index e88f87e..52855a7 100644
--- a/tccrun.c
+++ b/tccrun.c
@@ -78,6 +78,13 @@ int tcc_run(TCCState *s1, int argc, char **argv)
return ret;
}
#endif
+
+#ifdef TCC_TARGET_PE
+ {
+ unsigned char *p = tcc_get_symbol(s1, "tinyc_no_getbp");
+ if (p) *p = 0;
+ }
+#endif
return (*prog_main)(argc, argv);
}