aboutsummaryrefslogtreecommitdiff
path: root/ld/ldsym.h
diff options
context:
space:
mode:
authorSteve Chamberlain <sac@cygnus>1992-12-07 16:49:54 +0000
committerSteve Chamberlain <sac@cygnus>1992-12-07 16:49:54 +0000
commit85e38cfa01d6ac71297b26b5c653c35a891e8932 (patch)
treeed52efda91c7f1f6c75e1e9911a80f6030f21452 /ld/ldsym.h
parentdde624eff98ade689592a803ca8ca77fb8f5b2ba (diff)
downloadgdb-85e38cfa01d6ac71297b26b5c653c35a891e8932.zip
gdb-85e38cfa01d6ac71297b26b5c653c35a891e8932.tar.gz
gdb-85e38cfa01d6ac71297b26b5c653c35a891e8932.tar.bz2
-y support
* ld.texinfo: new doc. * ldgram.y, ldlex.l: understand -y<symbol> * ldmain.c (Q_enter_file_symbols): if had -y, lookup symbol and print info. (add_ysym): new function. * ldsym.h: (ldsym_type): new define SYM_Y.
Diffstat (limited to 'ld/ldsym.h')
-rw-r--r--ld/ldsym.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ld/ldsym.h b/ld/ldsym.h
index db487ac..49fcb80 100644
--- a/ld/ldsym.h
+++ b/ld/ldsym.h
@@ -56,6 +56,8 @@ typedef struct user_symbol_struct
/* If this symbol explicitly should be kept, despite discarding
most others. */
#define SYM_KEEP 8
+ /* If its got -y set */
+#define SYM_Y 16
int flags;
} ldsym_type;