From b7e75ccdb065da925946293cc25f9d6dd9a8b2cb Mon Sep 17 00:00:00 2001 From: grischka Date: Sat, 22 Dec 2012 18:06:17 +0100 Subject: [PATCH] tccpe: no debug, no stabs --- tccpe.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tccpe.c b/tccpe.c index 4dec1d88..9bee9c20 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; -- 2.11.4.GIT