diff options
author | Nick Alcock <nick.alcock@oracle.com> | 2024-07-15 23:25:25 +0100 |
---|---|---|
committer | Nick Alcock <nick.alcock@oracle.com> | 2024-07-31 21:02:05 +0100 |
commit | 58db4b3531774e64a37f724f020a431adc4250e5 (patch) | |
tree | bcb93a1c02ded1e6f15fc9f9c4eabcdc2b323bca /libctf/ctf-string.c | |
parent | ad633f2115b96cebcb601d5ac60241da16b343ca (diff) | |
download | binutils-58db4b3531774e64a37f724f020a431adc4250e5.zip binutils-58db4b3531774e64a37f724f020a431adc4250e5.tar.gz binutils-58db4b3531774e64a37f724f020a431adc4250e5.tar.bz2 |
libctf: link: remember to turn off the LCTF_LINKING flag after ctf_link_write
We set this flag at the top of ctf_link_write (to tell ctf_serialize, way
down under the archive file writing functions, to do the various link- time
serialization things like symbol filtering and the like), but we never
remember to clear it except on error. This is probably bad if you want to
serialize the dict yourself directly in the future after linking it (which
is... definitely a *possible* use of the API, if rather strange).
libctf/
* ctf-link.c (ctf_link_write): Clear LCTF_LINKING before exit.
Diffstat (limited to 'libctf/ctf-string.c')
0 files changed, 0 insertions, 0 deletions