Revert "output all sections if we produce an executable file"

-- Not a fix
This reverts commit 089ce6235c.

Revert "handle a -s option by executing sstrip/strip program"
-- related, not a fix.
This reverts commit 5cd4393a54.
This commit is contained in:
grischka
2016-10-01 20:48:01 +02:00
parent 9c5bb16447
commit 2d6aa65067
3 changed files with 1 additions and 14 deletions

View File

@ -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: