aboutsummaryrefslogtreecommitdiff
path: root/ld/ldlang.h
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2004-10-16 18:13:54 +0000
committerDaniel Jacobowitz <drow@false.org>2004-10-16 18:13:54 +0000
commitb58f81aef6a84930bcb58db39f2bad0c45383a6d (patch)
tree3898cd356f0d9f0d894b447a4fdb46915a7bfac0 /ld/ldlang.h
parentfd5008162e2dc522e4fea16de38a355f7e1a43be (diff)
downloadgdb-b58f81aef6a84930bcb58db39f2bad0c45383a6d.zip
gdb-b58f81aef6a84930bcb58db39f2bad0c45383a6d.tar.gz
gdb-b58f81aef6a84930bcb58db39f2bad0c45383a6d.tar.bz2
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.
Diffstat (limited to 'ld/ldlang.h')
-rw-r--r--ld/ldlang.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ld/ldlang.h b/ld/ldlang.h
index 9b0f9ef..d6b9a79 100644
--- a/ld/ldlang.h
+++ b/ld/ldlang.h
@@ -589,4 +589,6 @@ extern int lang_symbol_definition_iteration (const char *);
extern void lang_update_definedness
(const char *, struct bfd_link_hash_entry *);
+extern void add_excluded_libs (const char *);
+
#endif