diff options
author | Nick Alcock <nick.alcock@oracle.com> | 2019-12-13 14:48:07 +0000 |
---|---|---|
committer | Nick Alcock <nick.alcock@oracle.com> | 2020-06-26 15:56:39 +0100 |
commit | 2e428e74401480c562a203ba6b6923ce8c7811fa (patch) | |
tree | 6b267631b666ead5ad4af1e8f1dfe30e961f7c8c /libctf/ChangeLog | |
parent | 2f6ecaed667d1597c67991224948e0a3da427cc9 (diff) | |
download | gdb-2e428e74401480c562a203ba6b6923ce8c7811fa.zip gdb-2e428e74401480c562a203ba6b6923ce8c7811fa.tar.gz gdb-2e428e74401480c562a203ba6b6923ce8c7811fa.tar.bz2 |
libctf: avoid nonportable __thread in CTF archive handling
This keeps archive searching threadsafe using the new bsearch_r that was
just added to libiberty.
PR25120
libctf/
* ctf-archive.c (search_nametbl): No longer global: declare...
(ctf_arc_open_by_name_internal): ... here. Use bsearch_r.
(search_modent_by_name): Take and use ARG for the nametbl.
Diffstat (limited to 'libctf/ChangeLog')
-rw-r--r-- | libctf/ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libctf/ChangeLog b/libctf/ChangeLog index 5e473a7..62c2cc5 100644 --- a/libctf/ChangeLog +++ b/libctf/ChangeLog @@ -1,5 +1,12 @@ 2020-06-26 Nick Alcock <nick.alcock@oracle.com> + PR libctf/25120 + * ctf-archive.c (search_nametbl): No longer global: declare... + (ctf_arc_open_by_name_internal): ... here. Use bsearch_r. + (search_modent_by_name): Take and use ARG for the nametbl. + +2020-06-26 Nick Alcock <nick.alcock@oracle.com> + * ctf-impl.h (ctf_new_archive_internal): Declare. (ctf_arc_bufopen): Remove. (ctf_archive_internal) <ctfi_free_symsect>: New. |