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.texinfo | |
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.texinfo')
-rw-r--r-- | ld/ld.texinfo | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/ld/ld.texinfo b/ld/ld.texinfo index 4494370..382dd7e 100644 --- a/ld/ld.texinfo +++ b/ld/ld.texinfo @@ -18,7 +18,7 @@ END-INFO-DIR-ENTRY @ifinfo This file documents the @sc{gnu} linker LD version @value{VERSION}. -Copyright (C) 1991, 92, 93, 94, 95, 96, 97, 98, 1999 Free Software Foundation, Inc. +Copyright (C) 1991, 92, 93, 94, 95, 96, 97, 98, 99, 2000 Free Software Foundation, Inc. Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice @@ -2235,13 +2235,15 @@ include all input @samp{.text} sections, you would write: *(.text) @end smallexample @noindent -Here the @samp{*} is a wildcard which matches any file name. To exclude a file -from matching the file name wildcard, EXCLUDE_FILE may be used to match all files -except the one specified by EXCLUDE_FILE. For example: +Here the @samp{*} is a wildcard which matches any file name. To exclude a list +of files from matching the file name wildcard, EXCLUDE_FILE may be used to +match all files except the ones specified in the EXCLUDE_FILE list. For +example: @smallexample -(*(EXCLUDE_FILE (*crtend.o) .ctors)) +(*(EXCLUDE_FILE (*crtend.o, *otherfile.o) .ctors)) @end smallexample -will cause all .ctors sections from all files except crtend.o to be included. +will cause all .ctors sections from all files except crtend.o and otherfile.o +to be included. There are two ways to include more than one section: @smallexample |