scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | Submodules | README | LICENSE

commit d24706caaba60e213fc19fa32155d944095db824
parent 52a499865aafc40d7094045027e303f1a8ade1d9
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Fri, 11 May 2018 20:04:48 +0100

[ld] Add comments about th emission of every flag

Diffstat:
Mld/main.c | 6+++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/ld/main.c b/ld/main.c @@ -14,7 +14,11 @@ static char sccsid[] = "@(#) ./ld/main.c"; char *output = "a.out", *entry, *datasiz; int pass; -int sflag, xflag, Xflag, rflag, dflag; +int sflag; /* discard all the symbols */ +int xflag; /* discard local symbols */ +int Xflag; /* discard locals starting with 'L' */ +int rflag; /* preserve relocation bits */ +int dflag; /* define common even with rflag */ void outmem(void)