bfd/
authorDaniel Jacobowitz <drow@false.org>
Sat, 16 Oct 2004 18:13:54 +0000 (18:13 +0000)
committerDaniel Jacobowitz <drow@false.org>
Sat, 16 Oct 2004 18:13:54 +0000 (18:13 +0000)
commitb58f81aef6a84930bcb58db39f2bad0c45383a6d
tree3898cd356f0d9f0d894b447a4fdb46915a7bfac0
parentfd5008162e2dc522e4fea16de38a355f7e1a43be
bfd/
* bfd-in2.h: Regenerate.
* bfd.c (struct bfd): Add no_export.
* elflink.c (elf_link_add_object_symbols): Handle no_export.
ld/
* ldlang.c (struct excluded_lib, excluded_libs, add_excluded_libs)
(check_excluded_libs): New.
(load_symbols): Call check_excluded_libs.
* ldlang.h (add_excluded_libs): New prototype.
* emultempl/elf32.em (OPTION_EXCLUDED_LIBS): Define.
(gld${EMULATION_NAME}_add_options): Add --exclude-libs.
(gld${EMULATION_NAME}_handle_option): Handle --exclude-libs.
* ld.texinfo (Command Line Variables): Document --exclude-libs.
(Options Specific to i386 PE Targets): Remove --exclude-libs.
ld/testsuite/
* ld-elf/exclude1.s, ld-elf/exclude2.s, ld-elf/exclude.exp: New.
13 files changed:
bfd/ChangeLog
bfd/bfd-in2.h
bfd/bfd.c
bfd/elflink.c
ld/ChangeLog
ld/emultempl/elf32.em
ld/ld.texinfo
ld/ldlang.c
ld/ldlang.h
ld/testsuite/ChangeLog
ld/testsuite/ld-elf/exclude.exp [new file with mode: 0644]
ld/testsuite/ld-elf/exclude1.s [new file with mode: 0644]
ld/testsuite/ld-elf/exclude2.s [new file with mode: 0644]