diff options
author | Cary Coutant <ccoutant@gmail.com> | 2018-06-20 01:24:11 -0700 |
---|---|---|
committer | Cary Coutant <ccoutant@gmail.com> | 2018-06-20 01:25:04 -0700 |
commit | ebb1332297da904a4adab0d3696a5512604f5edd (patch) | |
tree | db27440b898ad42f3200a5024e014cc40c7cb08b /gold/ChangeLog | |
parent | 160d1b3d74593bf42155da24569f54a6e7140f65 (diff) | |
download | gdb-ebb1332297da904a4adab0d3696a5512604f5edd.zip gdb-ebb1332297da904a4adab0d3696a5512604f5edd.tar.gz gdb-ebb1332297da904a4adab0d3696a5512604f5edd.tar.bz2 |
Fix problem where gold does not create base version for executables.
gold/
PR gold/23268
* dynobj.cc (Versions::Versions): Change init for needs_base_version_.
(Versions::record_version): Add verdefs for both shared objects and
executables.
(Versions::add_def): Likewise for base version.
(Versions::add_need): Don't add base version for executables.
(Versions::version_index): Look up version for both shared objects and
executables.
* testsuite/Makefile.am (ver_test_14): New test case.
* testsuite/Makefile.in: Regenerate.
* testsuite/ver_test_14.script: New version script.
* testsuite/ver_test_14.sh: New test script.
Diffstat (limited to 'gold/ChangeLog')
-rw-r--r-- | gold/ChangeLog | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog index 71df0ef..626bcdb 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,18 @@ +2018-06-20 Cary Coutant <ccoutant@gmail.com> + + PR gold/23268 + * dynobj.cc (Versions::Versions): Change init for needs_base_version_. + (Versions::record_version): Add verdefs for both shared objects and + executables. + (Versions::add_def): Likewise for base version. + (Versions::add_need): Don't add base version for executables. + (Versions::version_index): Look up version for both shared objects and + executables. + * testsuite/Makefile.am (ver_test_14): New test case. + * testsuite/Makefile.in: Regenerate. + * testsuite/ver_test_14.script: New version script. + * testsuite/ver_test_14.sh: New test script. + 2018-06-19 Joshua Watt <jpewhacker@gmail.com> Cary Coutant <ccoutant@gmail.com> |