From fc0e6df64dd2d64f16469008668ccea697291758 Mon Sep 17 00:00:00 2001 From: Paul Brook Date: Mon, 15 Nov 2004 23:21:27 +0000 Subject: 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. --- ld/ld.texinfo | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'ld/ld.texinfo') diff --git a/ld/ld.texinfo b/ld/ld.texinfo index 597c705..e2a971b 100644 --- a/ld/ld.texinfo +++ b/ld/ld.texinfo @@ -1237,7 +1237,12 @@ will be issued instead. @kindex --default-symver @item --default-symver Create and use a default symbol version (the soname) for unversioned -symbols. +exported symbols. + +@kindex --default-imported-symver +@item --default-imported-symver +Create and use a default symbol version (the soname) for unversioned +imported symbols. @kindex --no-warn-mismatch @item --no-warn-mismatch -- cgit v1.1