mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-27 01:28:46 +00:00
-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.
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user