aboutsummaryrefslogtreecommitdiff
path: root/ld/ld.h
diff options
context:
space:
mode:
authorCatherine Moore <clm@redhat.com>2000-01-05 14:12:23 +0000
committerCatherine Moore <clm@redhat.com>2000-01-05 14:12:23 +0000
commit18625d5459c50dcdd0e9dc5338f272dcaa00d5d9 (patch)
tree5219de62fe763ad34788cf37ed503be0d73f5a31 /ld/ld.h
parentfda8e7c4e90acfe0025ba3c8ac7b33cc8c0b9bee (diff)
downloadgdb-18625d5459c50dcdd0e9dc5338f272dcaa00d5d9.zip
gdb-18625d5459c50dcdd0e9dc5338f272dcaa00d5d9.tar.gz
gdb-18625d5459c50dcdd0e9dc5338f272dcaa00d5d9.tar.bz2
* ld.h (wildcard_spec): Change exclude_name to exclude_name_list.
(name_list): New. * ld.texinfo (EXCLUDE_FILE): Update documentation. * ldgram.y (wildcard_spec): Support a list of excluded_files. (exclude_name_list): New. ldlang.c (walk_wild_section): Support list of excluded files. (print_wild_statement): Likewise. (lang_add_wild): Likewise. * ldlang.h (lang_wild_statement_type): Likewise. * scripttempl/elf.sc (OTHER_EXCLUDE_FILES): Support.
Diffstat (limited to 'ld/ld.h')
-rw-r--r--ld/ld.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/ld/ld.h b/ld/ld.h
index 91565a8..3c53b98 100644
--- a/ld/ld.h
+++ b/ld/ld.h
@@ -1,5 +1,5 @@
/* ld.h -- general linker header file
- Copyright (C) 1991, 93, 94, 95, 96, 97, 98, 1999
+ Copyright (C) 1991, 93, 94, 95, 96, 97, 98, 99, 2000
Free Software Foundation, Inc.
This file is part of GLD, the Gnu Linker.
@@ -56,13 +56,20 @@
discarded. */
#define DISCARD_SECTION_NAME "/DISCARD/"
+/* A file name list */
+typedef struct name_list
+{
+ const char *name;
+ struct name_list *next;
+} name_list;
+
/* A wildcard specification. This is only used in ldgram.y, but it
winds up in ldgram.h, so we need to define it outside. */
struct wildcard_spec
{
const char *name;
- const char *exclude_name;
+ struct name_list *exclude_name_list;
boolean sorted;
};