summaryrefslogtreecommitdiff
path: root/src/cmd/5l/l.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/5l/l.h')
-rw-r--r--src/cmd/5l/l.h19
1 files changed, 2 insertions, 17 deletions
diff --git a/src/cmd/5l/l.h b/src/cmd/5l/l.h
index 2e887dad7..cf5a9990b 100644
--- a/src/cmd/5l/l.h
+++ b/src/cmd/5l/l.h
@@ -136,6 +136,7 @@ struct Sym
uchar dynexport;
uchar leaf;
uchar stkcheck;
+ uchar hide;
int32 dynid;
int32 plt;
int32 got;
@@ -147,6 +148,7 @@ struct Sym
uchar foreign; // called by arm if thumb, by thumb if arm
uchar fnptr; // used as fn ptr
Sym* hash; // in hash table
+ Sym* allsym; // in all symbol list
Sym* next; // in text or data list
Sym* sub; // in SSUB list
Sym* outer; // container of sub
@@ -202,22 +204,6 @@ struct Count
enum
{
- Sxxx,
-
- /* order here is order in output file */
- STEXT = 1,
- SRODATA,
- SELFDATA,
- SDATA,
- SBSS,
-
- SXREF,
- SFILE,
- SCONST,
- SDYNIMPORT,
-
- SSUB = 1<<8,
-
LFROM = 1<<0,
LTO = 1<<1,
LPOOL = 1<<2,
@@ -280,7 +266,6 @@ enum
LEAF = 1<<2,
STRINGSZ = 200,
- NHASH = 10007,
MINSIZ = 64,
NENT = 100,
MAXIO = 8192,