From: grischka Date: Sat, 22 Dec 2012 17:06:17 +0000 (+0100) Subject: tccpe: no debug, no stabs X-Git-Tag: release_0_9_26~51 X-Git-Url: https://repo.or.cz/w/tinycc.git/commitdiff_plain/b7e75ccdb065da925946293cc25f9d6dd9a8b2cb tccpe: no debug, no stabs --- 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;