struct bfd_link_info *info,
bfd_signed_vma group_size,
asection * (*add_stub_section) (const char *,
- asection *),
- void (*layout_sections_again) (void))
+ asection *))
{
bfd_size_type stub_group_size;
bfd_boolean stubs_always_before_branch;
/* Stash our params away. */
htab->stub_bfd = stub_bfd;
htab->add_stub_section = add_stub_section;
- htab->layout_sections_again = layout_sections_again;
stubs_always_before_branch = group_size < 0;
if (group_size < 0)
stub_group_size = -group_size;
(struct bfd_link_info *, struct bfd_section *);
extern bfd_boolean elf64_aarch64_size_stubs
(bfd *, bfd *, struct bfd_link_info *, bfd_signed_vma,
- struct bfd_section * (*) (const char *, struct bfd_section *),
- void (*) (void));
+ struct bfd_section * (*) (const char *, struct bfd_section *));
extern void elf64_c64_resize_sections (bfd *, struct bfd_link_info *,
void (*) (asection *, bfd_vma),
(struct bfd_link_info *, struct bfd_section *);
extern bfd_boolean elf32_aarch64_size_stubs
(bfd *, bfd *, struct bfd_link_info *, bfd_signed_vma,
- struct bfd_section * (*) (const char *, struct bfd_section *),
- void (*) (void));
+ struct bfd_section * (*) (const char *, struct bfd_section *));
extern bfd_boolean elf32_aarch64_build_stubs
(struct bfd_link_info *);
/* Fake input file for stubs. */
static lang_input_statement_type *stub_file;
-/* Whether we need to call gldarm_layout_sections_again. */
+/* Whether we need to call gldaarch64_layout_sections_again. */
static int need_laying_out = 0;
/* Maximum size of a group of input sections that can be handled by
stub_file->the_bfd,
& link_info,
group_size,
- & elf${ELFSIZE}_aarch64_add_stub_section,
- & gldaarch64_layout_sections_again))
+ & elf${ELFSIZE}_aarch64_add_stub_section))
{
einfo (_("%X%P: can not size stub section: %E\n"));
return;