aboutsummaryrefslogtreecommitdiff
path: root/tccpe.c
diff options
context:
space:
mode:
Diffstat (limited to 'tccpe.c')
-rw-r--r--tccpe.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/tccpe.c b/tccpe.c
index 4dec1d8..9bee9c2 100644
--- a/tccpe.c
+++ b/tccpe.c
@@ -1,4 +1,4 @@
-/*
+ /*
* TCCPE.C - PE file output for the Tiny C Compiler
*
* Copyright (c) 2005-2007 grischka
@@ -1100,6 +1100,9 @@ static int pe_assign_addresses (struct pe_info *pe)
continue;
}
#endif
+ if (c == sec_stab && 0 == pe->s1->do_debug)
+ continue;
+
strcpy(si->name, s->name);
si->cls = c;
si->ord = k;