aboutsummaryrefslogtreecommitdiff
path: root/include/bfdlink.h
diff options
context:
space:
mode:
authorPaul Brook <paul@codesourcery.com>2004-11-15 23:21:27 +0000
committerPaul Brook <paul@codesourcery.com>2004-11-15 23:21:27 +0000
commitfc0e6df64dd2d64f16469008668ccea697291758 (patch)
tree49da66fa6655847c298d71374872aaa31a969aa3 /include/bfdlink.h
parent2e8d14f48283a91dd8874ecaea037e904c047998 (diff)
downloadgdb-fc0e6df64dd2d64f16469008668ccea697291758.zip
gdb-fc0e6df64dd2d64f16469008668ccea697291758.tar.gz
gdb-fc0e6df64dd2d64f16469008668ccea697291758.tar.bz2
bfd/
* elf-bfd.h (_bfd_elf_slurp_version_tables): Update prototype. * elf.c (_bfd_elf_print_private_bfd_data): Pass extra argument. (_bfd_elf_slurp_version_tables): Add extra argument. Create extra default version definition for unversioned symbols. * elfcode.h (elf_slurp_symbol_table): Pass extra argument. * elflink.c (elf_link_add_object_symbols): Pass extra argument to _bfd_elf_slurp_version_tables. Set default version for unversioned imported symbols. include/ * bfdlink.h (bfd_link_info): Add default_imported_symver. ld/ * ld.texinfo: Document --default-imported-symver. * ldmain.c (main): Set link_info.default_imported_symver. * lexsup.c (option_values): Add OPTION_DEFAULT_IMPORTED_SYMVER. (ld_options): Add --default-imported-symver. (parse_args): Handle OPTION_DEFAULT_IMPORTED_SYMVER.
Diffstat (limited to 'include/bfdlink.h')
-rw-r--r--include/bfdlink.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/bfdlink.h b/include/bfdlink.h
index ab59b7c..9950920 100644
--- a/include/bfdlink.h
+++ b/include/bfdlink.h
@@ -262,9 +262,14 @@ struct bfd_link_info
/* TRUE if ok to have version with no definition. */
unsigned int allow_undefined_version: 1;
- /* TRUE id a fedault symbol version should be created and used. */
+ /* TRUE if a default symbol version should be created and used for
+ exported symbols. */
unsigned int create_default_symver: 1;
+ /* TRUE if a default symbol version should be created and used for
+ imported symbols. */
+ unsigned int default_imported_symver: 1;
+
/* TRUE if symbols should be retained in memory, FALSE if they
should be freed and reread. */
unsigned int keep_memory: 1;