aboutsummaryrefslogtreecommitdiff
path: root/libtcc.c
diff options
context:
space:
mode:
authorgrischka <grischka>2016-10-01 20:48:01 +0200
committergrischka <grischka>2016-10-01 20:48:01 +0200
commit2d6aa65067b6d1127abb62bd11d2ddaf6b4cf492 (patch)
treea200ea86aa2ecc396cc4a901f61d751f4604584d /libtcc.c
parent9c5bb16447e3d6cf5493c4802f3e3a1939430a27 (diff)
downloadtinycc-2d6aa65067b6d1127abb62bd11d2ddaf6b4cf492.tar.gz
tinycc-2d6aa65067b6d1127abb62bd11d2ddaf6b4cf492.tar.bz2
Revert "output all sections if we produce an executable file"
-- Not a fix This reverts commit 089ce6235c99638ad4542a57af4d09e2be0efc88. Revert "handle a -s option by executing sstrip/strip program" -- related, not a fix. This reverts commit 5cd4393a542ef4c64df7dcbb3fbe3a629666239d.
Diffstat (limited to 'libtcc.c')
-rw-r--r--libtcc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libtcc.c b/libtcc.c
index 71e8c2f..2b29d87 100644
--- a/libtcc.c
+++ b/libtcc.c
@@ -2292,8 +2292,6 @@ PUB_FUNC int tcc_parse_args(TCCState *s, int argc, char **argv)
case TCC_OPTION_dumpversion:
printf ("%s\n", TCC_VERSION);
exit(0);
- case TCC_OPTION_s:
- s->do_strip = 1;
break;
case TCC_OPTION_traditional:
break;
@@ -2314,6 +2312,7 @@ PUB_FUNC int tcc_parse_args(TCCState *s, int argc, char **argv)
break;
case TCC_OPTION_pedantic:
case TCC_OPTION_pipe:
+ case TCC_OPTION_s:
/* ignored */
break;
default: