shithub: scc

Download patch

ref: 4bec4d5e37d09aeeb32dc583261a31f4f9675d3b
parent: e72d3db350f7b4a720009bcf1b1bf803cc74f8e9
author: Roberto E. Vargas Caballero <[email protected]>
date: Fri May 11 16:04:48 EDT 2018

[ld] Add comments about th emission of every flag

--- a/ld/main.c
+++ b/ld/main.c
@@ -14,7 +14,11 @@
 
 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)