Revert "output all sections if we produce an executable file"
-- Not a fix This reverts commit089ce6235c. Revert "handle a -s option by executing sstrip/strip program" -- related, not a fix. This reverts commit5cd4393a54.
This commit is contained in:
3
libtcc.c
3
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:
|
||||
|
||||
Reference in New Issue
Block a user