diff options
author | Paul Brook <paul@codesourcery.com> | 2004-10-26 13:46:02 +0000 |
---|---|---|
committer | Paul Brook <paul@codesourcery.com> | 2004-10-26 13:46:02 +0000 |
commit | 8876d8cbec35e3445adfb269220cbc3477e3db5a (patch) | |
tree | ed26309630c1b9d86e6606169ce726e250b24400 /include | |
parent | fdf4ad73e1cccdcc9f9a03a2605615ef4835013c (diff) | |
download | newlib-8876d8cbec35e3445adfb269220cbc3477e3db5a.zip newlib-8876d8cbec35e3445adfb269220cbc3477e3db5a.tar.gz newlib-8876d8cbec35e3445adfb269220cbc3477e3db5a.tar.bz2 |
bfd/
* elflink.c (elf_finalize_dynstr): Skip shared aux structure.
(bfd_elf_size_dynamic_sections): Create default version definition.
(elf_link_output_extsym): Adjust for default symbol version.
include/
* bfdlink.h (struct bfd_link_info): Add create_default_symver.
ld/
* ld.texinfo: Document --default-symver.
* ldmain.c (main): Set link_info.create_default_symver.
* lexsup.c (enum option_values): Add OPTION_DEFAULT_SYMVER.
(ld_options): Add default-symver.
(parse_args): Handle OPTION_DEFAULT_SYMVER.
ld/testsuite/
* ld-elfvers/vers.exp (build_binary): Add ldargs parameter.
(build_vers_lib_pic_flags): New function.
Add vers29 test.
* ld-elfvers/vers29.c: New file.
* ld-elfvers/vers29.dsym: New file.
* ld-elfvers/vers29.ver: New file.
Diffstat (limited to 'include')
-rw-r--r-- | include/ChangeLog | 4 | ||||
-rw-r--r-- | include/bfdlink.h | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/include/ChangeLog b/include/ChangeLog index 48398d7..7a501a4 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,7 @@ +2004-10-26 Paul Brook <paul@codesourcery.com> + + * bfdlink.h (struct bfd_link_info): Add create_default_symver. + 2004-10-21 Tomer Levi <Tomer.Levi@nsc.com> * opcode/crx.h (operand_type): Remove redundant types i3, i4, diff --git a/include/bfdlink.h b/include/bfdlink.h index b567342..ab59b7c 100644 --- a/include/bfdlink.h +++ b/include/bfdlink.h @@ -262,6 +262,9 @@ 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. */ + unsigned int create_default_symver: 1; + /* TRUE if symbols should be retained in memory, FALSE if they should be freed and reread. */ unsigned int keep_memory: 1; |