diff options
author | Cary Coutant <ccoutant@gmail.com> | 2018-04-23 09:27:35 -0700 |
---|---|---|
committer | Cary Coutant <ccoutant@gmail.com> | 2018-04-24 13:51:24 -0700 |
commit | 890d155592e66dc01fc4a9affba806c4e9fc36ba (patch) | |
tree | 0ccfa6f963c937ec8f5648ecb9d401ae676c0778 /gold/ChangeLog | |
parent | f67c0c9171508672167b6868c67211571421a1c6 (diff) | |
download | gdb-890d155592e66dc01fc4a9affba806c4e9fc36ba.zip gdb-890d155592e66dc01fc4a9affba806c4e9fc36ba.tar.gz gdb-890d155592e66dc01fc4a9affba806c4e9fc36ba.tar.bz2 |
Fix internal error caused by conflicting default version definitions.
gold/
PR gold/16504
* dynobj.cc (Versions::symbol_section_contents): Don't set
VERSYM_HIDDEN flag for undefined symbols.
* symtab.cc (Symbol_table::add_from_object): Don't override default
version definition with a different default version.
* symtab.h (Symbol::from_dyn): New method.
* testsuite/plugin_test.c (struct sym_info): Add ver field.
(claim_file_hook): Pass symbol version to plugin API.
(parse_readelf_line): Parse symbol version.
* testsuite/Makefile.am (ver_test_pr16504): New test case.
* testsuite/Makefile.in: Regenerate.
* testsuite/ver_test_pr16504.sh: New test script.
* testsuite/ver_test_pr16504_a.c: New source file.
* testsuite/ver_test_pr16504_a.script: New version script.
* testsuite/ver_test_pr16504_b.c: New source file.
* testsuite/ver_test_pr16504_b.script: New version script.
Diffstat (limited to 'gold/ChangeLog')
-rw-r--r-- | gold/ChangeLog | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog index bc17a9e..e38262e 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,22 @@ +2018-04-24 Cary Coutant <ccoutant@gmail.com> + + PR gold/16504 + * dynobj.cc (Versions::symbol_section_contents): Don't set + VERSYM_HIDDEN flag for undefined symbols. + * symtab.cc (Symbol_table::add_from_object): Don't override default + version definition with a different default version. + * symtab.h (Symbol::from_dyn): New method. + * testsuite/plugin_test.c (struct sym_info): Add ver field. + (claim_file_hook): Pass symbol version to plugin API. + (parse_readelf_line): Parse symbol version. + * testsuite/Makefile.am (ver_test_pr16504): New test case. + * testsuite/Makefile.in: Regenerate. + * testsuite/ver_test_pr16504.sh: New test script. + * testsuite/ver_test_pr16504_a.c: New source file. + * testsuite/ver_test_pr16504_a.script: New version script. + * testsuite/ver_test_pr16504_b.c: New source file. + * testsuite/ver_test_pr16504_b.script: New version script. + 2018-04-19 Cary Coutant <ccoutant@gmail.com> PR gold/23046 |