]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
section tdata tidy
authorAlan Modra <amodra@gmail.com>
Mon, 16 Dec 2024 04:34:57 +0000 (15:04 +1030)
committerAlan Modra <amodra@gmail.com>
Mon, 16 Dec 2024 09:07:40 +0000 (19:37 +1030)
commitf5a8cdea567a2fc2fc00090d3967f81fc6e55499
tree379179361c7792857772a2aa89c853d9d0da9282
parent1c82e1ee93d57a2013c5acf94558c382e3e2e5c3
section tdata tidy

Any _new_section_hook that is not itself called from another
_new_section_hook will always see used_by_bfd NULL.  Remove those
NULL checks in such hooks, and tidy code a little.
18 files changed:
bfd/elf32-arm.c
bfd/elf32-avr.c
bfd/elf32-microblaze.c
bfd/elf32-score.c
bfd/elf32-score7.c
bfd/elf32-spu.c
bfd/elf32-tic6x.c
bfd/elf32-xtensa.c
bfd/elf64-mmix.c
bfd/elf64-ppc.c
bfd/elfnn-aarch64.c
bfd/elfnn-kvx.c
bfd/elfnn-loongarch.c
bfd/elfxx-mips.c
bfd/elfxx-sparc.c
bfd/mach-o.c
bfd/mmo.c
bfd/som.c