diff options
author | Catherine Moore <clm@redhat.com> | 2000-01-05 14:12:23 +0000 |
---|---|---|
committer | Catherine Moore <clm@redhat.com> | 2000-01-05 14:12:23 +0000 |
commit | 18625d5459c50dcdd0e9dc5338f272dcaa00d5d9 (patch) | |
tree | 5219de62fe763ad34788cf37ed503be0d73f5a31 /ld/ld.h | |
parent | fda8e7c4e90acfe0025ba3c8ac7b33cc8c0b9bee (diff) | |
download | gdb-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.h | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -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; }; |