aboutsummaryrefslogtreecommitdiff
path: root/ld/ldsym.h
diff options
context:
space:
mode:
Diffstat (limited to 'ld/ldsym.h')
-rw-r--r--ld/ldsym.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/ld/ldsym.h b/ld/ldsym.h
index 90ba007..fdd24da 100644
--- a/ld/ldsym.h
+++ b/ld/ldsym.h
@@ -53,9 +53,14 @@ typedef struct user_symbol_struct
#define SYM_WARNING 2
/* IF this is an alias for another symbol */
#define SYM_INDIRECT 4
+ /* If this symbol explicitly should be kept, despite discarding
+ most others. */
+#define SYM_KEEP 8
int flags;
} ldsym_type;
+extern CONST char *keepsyms_file;
+extern int kept_syms;
PROTO(ldsym_type *, ldsym_get, (CONST char *));
PROTO(ldsym_type *, ldsym_get_soft, (CONST char *));