]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Remove layout_sections_again argument to size_stubs
authorMatthew Malcomson <matthew.malcomson@arm.com>
Fri, 5 Aug 2022 16:19:35 +0000 (17:19 +0100)
committerJohn Baldwin <jhb@FreeBSD.org>
Thu, 1 Sep 2022 23:39:47 +0000 (16:39 -0700)
commit228ee1184c244b64a6d62cc5cd7b581b0eb89c4f
tree5349fdc736f55f800cd7cb5ae4e304d9f6445828
parent24bbdcf3e2770d1d782d49ea508d010b69f1bccd
Remove layout_sections_again argument to size_stubs

This was originally the first place that a function in
bfd/elfnn-aarch64.c was given a reference to
gldaarch64_layout_sections_again, and hence was the natural place to
store the function onto the elf hash table.

Ever since the introduction of elfNN_c64_resize_sections we have been
performing this operation in that function before this size_stubs
function.

Hence it seems sensible to remove the argument and now superfluous
operation from elfNN_aarch64_size_stubs.
bfd/elfnn-aarch64.c
bfd/elfxx-aarch64.h
ld/emultempl/aarch64elf.em