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 /bfd/mach-o-target.c | |
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 'bfd/mach-o-target.c')
0 files changed, 0 insertions, 0 deletions