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/scripttempl/elf.sc | |
parent | fda8e7c4e90acfe0025ba3c8ac7b33cc8c0b9bee (diff) | |
download | fsf-binutils-gdb-18625d5459c50dcdd0e9dc5338f272dcaa00d5d9.zip fsf-binutils-gdb-18625d5459c50dcdd0e9dc5338f272dcaa00d5d9.tar.gz fsf-binutils-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/scripttempl/elf.sc')
-rw-r--r-- | ld/scripttempl/elf.sc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ld/scripttempl/elf.sc b/ld/scripttempl/elf.sc index 58dc7b0..cdf8349 100644 --- a/ld/scripttempl/elf.sc +++ b/ld/scripttempl/elf.sc @@ -67,7 +67,7 @@ CTOR=".ctors ${CONSTRUCTING-0} : The .ctor section from the crtend file contains the end of ctors marker and it must be last */ - KEEP (*(EXCLUDE_FILE (*crtend.o) .ctors)) + KEEP (*(EXCLUDE_FILE (*crtend.o $OTHER_EXCLUDE_FILES) .ctors)) KEEP (*(SORT(.ctors.*))) KEEP (*(.ctors)) ${CONSTRUCTING+${CTOR_END}} @@ -77,7 +77,7 @@ DTOR=" .dtors ${CONSTRUCTING-0} : { ${CONSTRUCTING+${DTOR_START}} KEEP (*crtbegin.o(.dtors)) - KEEP (*(EXCLUDE_FILE (*crtend.o) .dtors)) + KEEP (*(EXCLUDE_FILE (*crtend.o $OTHER_EXCLUDE_FILES) .dtors)) KEEP (*(SORT(.dtors.*))) KEEP (*(.dtors)) ${CONSTRUCTING+${DTOR_END}} |