]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
coff make_a_section_from_file tidy
authorAlan Modra <amodra@gmail.com>
Wed, 7 Dec 2022 04:37:47 +0000 (15:07 +1030)
committerAlan Modra <amodra@gmail.com>
Wed, 7 Dec 2022 05:17:24 +0000 (15:47 +1030)
commit3198c863f62ab2253a3405e677489b90c403cf1c
treebdbe7b50313e37bbf97474af1db2b91ab48ba0ab
parent0f45491c0d16dd5750f11ab11e94e9b42232fae8
coff make_a_section_from_file tidy

Also support compressing a few more sections.

* coffgen.c (make_a_section_from_file): Rename return_section
to newsect.  Don't try to be clever matching section name.
Compress .gnu.debuglto_.debug_ and .gnu.linkonce.wi. too.
Only rename debug sections when decompressing for linker.
bfd/coffgen.c