]> 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)
committerMatthew Malcomson <matthew.malcomson@arm.com>
Fri, 5 Aug 2022 16:50:11 +0000 (17:50 +0100)
commita062272c6f194d17a7de41ba4f79d0fd49c67781
tree93d7bd47998f5add3bc63061ca5a9b455dda99d1
parentece841e87abc8c8967e0b815aee82030620df3ca
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