diff options
author | Paul Brook <paul@codesourcery.com> | 2004-11-15 23:21:26 +0000 |
---|---|---|
committer | Paul Brook <paul@codesourcery.com> | 2004-11-15 23:21:26 +0000 |
commit | 1b8d7dc5d07553ec1b181572d30d64b53e516e74 (patch) | |
tree | 67a514a3cca8b03d45a6bb40dea39f212e0ad04b /include | |
parent | b10e4056abcd21d04376ffccf4cb771da91cc7b8 (diff) | |
download | gdb-1b8d7dc5d07553ec1b181572d30d64b53e516e74.tar.gz |
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')
-rw-r--r-- | include/ChangeLog | 4 | ||||
-rw-r--r-- | include/bfdlink.h | 7 |
2 files changed, 10 insertions, 1 deletions
diff --git a/include/ChangeLog b/include/ChangeLog index de51a8fbb2d..7de9f244a1e 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,7 @@ +2004-11-04 Paul Brook <paul@codesourcery.com> + + * bfdlink.h (bfd_link_info): Add default_imported_symver. + 2004-11-12 Bob Wilson <bob.wilson@acm.org> * xtensa-isa-internal.h (xtensa_interface_internal): Add class_id. diff --git a/include/bfdlink.h b/include/bfdlink.h index ab59b7c7814..9950920a369 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; |