diff options
author | Alan Modra <amodra@gmail.com> | 2025-01-11 16:20:36 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2025-01-20 07:13:46 +1030 |
commit | cb6326b5ceb7cfc784003c05b90b351d78c755fd (patch) | |
tree | 7f9ee6febac9179e3bbea81799c7dc5c99edffdc /libctf/ctf-dedup.c | |
parent | 354ed4d4a26da57cf2a2b9b463c4262b18c48021 (diff) | |
download | binutils-cb6326b5ceb7cfc784003c05b90b351d78c755fd.zip binutils-cb6326b5ceb7cfc784003c05b90b351d78c755fd.tar.gz binutils-cb6326b5ceb7cfc784003c05b90b351d78c755fd.tar.bz2 |
sec->alloced and freeing section contents
This modifies _bfd_elf_free_cached_info to unmap/free section
contents. To do that we need to *not* free sections where contents
are bfd_alloc'd or point to constant strings or somesuch. I've chosen
to implement this be adding another flag to struct bfd_section,
"alloced" to say the section contents can't be freed. Most of the
patch is about setting that flag in many places.
Diffstat (limited to 'libctf/ctf-dedup.c')
0 files changed, 0 insertions, 0 deletions