commit | 13917d936e367b0c42d4c32566e1017ff8e15520 | [log] [tgz] |
---|---|---|
author | Alan Modra <amodra@gmail.com> | Sun Dec 04 12:29:19 2022 +1030 |
committer | Alan Modra <amodra@gmail.com> | Sun Dec 04 12:51:46 2022 +1030 |
tree | a902a4c52dd5fe559f12013bf7538fbd00864f6f | |
parent | 13556f4057d37f510f77143a1632febcc5618d1f [diff] |
Renaming .debug to .zdebug and vice versa Move a couple of elf.c functions to compress.c. * compress.c (bfd_debug_name_to_zdebug): New inline function. (bfd_zdebug_name_to_debug): Likewise. * elf.c (convert_debug_to_zdebug, convert_zdebug_to_debug): Delete. (_bfd_elf_make_section_from_shdr, elf_fake_sections), (_bfd_elf_assign_file_positions_for_non_load): Adjust to suit. * coffgen.c (make_a_section_from_file): Use new inlines here.