diff options
author | Nicholas Vinson <nvinson234@gmail.com> | 2024-04-17 18:52:45 +0100 |
---|---|---|
committer | Nick Alcock <nick.alcock@oracle.com> | 2024-04-19 16:14:48 +0100 |
commit | d8e1bca7ebc357ebd9b7a338a53d2767cf0564b6 (patch) | |
tree | c0be3c60a73a0a436be106fba6c6b1f163c0c7b7 /bfd/arc-plt.h | |
parent | 7e1368b58f37f89152c5811eab98f4667d807b04 (diff) | |
download | gdb-d8e1bca7ebc357ebd9b7a338a53d2767cf0564b6.zip gdb-d8e1bca7ebc357ebd9b7a338a53d2767cf0564b6.tar.gz gdb-d8e1bca7ebc357ebd9b7a338a53d2767cf0564b6.tar.bz2 |
libctf: Remove undefined functions from ver. map
Starting with ld.lld-17, ld.lld is invoked with the option
--no-undefined-version enabled by default. Furthermore, The functions
ctf_label_set() and ctf_label_get() are not defined. Their inclusion in
libctf/libctf.ver causes ld.lld-17 to fail emitting the following error
messages:
ld.lld: error: version script assignment of 'LIBCTF_1.0' to symbol 'ctf_label_set' failed: symbol not defined
ld.lld: error: version script assignment of 'LIBCTF_1.0' to symbol 'ctf_label_get' failed: symbol not defined
This patch fixes the issue by removing the symbol names from
libctf/libctf.ver.
[nca: fused in later commit that marked ctf_arc_open as libctf
only as well. Added ChangeLog entry.]
Signed-off-by: Nicholas Vinson <nvinson234@gmail.com>
libctf/
* libctf.ver: drop nonexistent label functions: mark
ctf_arc_open as libctf-only.
Diffstat (limited to 'bfd/arc-plt.h')
0 files changed, 0 insertions, 0 deletions