aboutsummaryrefslogtreecommitdiff
path: root/tccpe.c
diff options
context:
space:
mode:
authorgrischka <grischka>2012-12-22 18:06:17 +0100
committergrischka <grischka>2013-01-30 18:39:26 +0100
commitb7e75ccdb065da925946293cc25f9d6dd9a8b2cb (patch)
treea31eb893976866ddbf19659c10ed2fbd38f01307 /tccpe.c
parent17cf0dcf7067355cfd3ee2020e389ef0c2bd753d (diff)
downloadtinycc-b7e75ccdb065da925946293cc25f9d6dd9a8b2cb.tar.gz
tinycc-b7e75ccdb065da925946293cc25f9d6dd9a8b2cb.tar.bz2
tccpe: no debug, no stabs
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;