diff options
author | Alan Modra <amodra@gmail.com> | 2022-07-08 08:48:16 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2022-07-09 21:22:10 +0930 |
commit | 5a210b9fe8a5fe616320f5adf432516334c3702f (patch) | |
tree | b25739b7dcda9a7c14e2a4042cb412f83b995667 /gas/symbols.h | |
parent | 951e757db69b4a6ee578f2a66075d68bf26a7ed5 (diff) | |
download | binutils-5a210b9fe8a5fe616320f5adf432516334c3702f.zip binutils-5a210b9fe8a5fe616320f5adf432516334c3702f.tar.gz binutils-5a210b9fe8a5fe616320f5adf432516334c3702f.tar.bz2 |
dw2gencfi.c: use notes obstack
Use notes obstack for dwcfi_hash entries, and free table. Freeing the
table makes memory checkers complain more about "definitely lost"
memory as we've moved some from the "still reachable" category.
That will be fixed with a later patch.
* dw2gencfi.c (get_debugseg_name): Allocate on notes obstack.
(alloc_debugseg_item): Likewise.
(dwcfi_hash_find_or_make): Adjust failure path free.
(cfi_finish): Delete dwfci_hash.
Diffstat (limited to 'gas/symbols.h')
0 files changed, 0 insertions, 0 deletions