+2021-03-29 Alan Modra <amodra@gmail.com>
+
+ * elf32-i386.c (elf_i386_finish_local_dynamic_symbol): Return int.
+ * elf64-ia64-vms.c (elf64_ia64_local_dyn_info_free): Likewise.
+ (elf64_ia64_local_dyn_sym_thunk): Likewise.
+ * elf64-x86-64.c (elf_x86_64_finish_local_dynamic_symbol): Likewise.
+ * elfnn-aarch64.c (elfNN_aarch64_allocate_local_ifunc_dynrelocs),
+ (elfNN_aarch64_finish_local_dynamic_symbol): Likewise.
+ * elfnn-ia64.c (elfNN_ia64_local_dyn_info_free): Likewise.
+ (elfNN_ia64_local_dyn_sym_thunk): Likewise.
+ * elfnn-riscv.c (allocate_local_ifunc_dynrelocs): Likewise.
+ (riscv_pcrel_reloc_eq): Likewise.
+ (riscv_elf_finish_local_dynamic_symbol): Likewise.
+ * elfxx-sparc.c (allocate_local_dynrelocs): Likewise.
+ (finish_local_dynamic_symbol): Likewise.
+ * elfxx-x86.c (elf_x86_allocate_local_dynreloc): Likewise.
+ * elfxx-mips.c (mips_elf_resolve_got_page_ref): Likewise.
+ (mips_elf_count_got_symbols): Change return type to bfd_boolean.
+
2021-03-29 Alan Modra <amodra@gmail.com>
* elflink.c (elf_link_output_symstrtab): Make flinfo parameter
/* Finish up local dynamic symbol handling. We set the contents of
various dynamic sections here. */
-static bfd_boolean
+static int
elf_i386_finish_local_dynamic_symbol (void **slot, void *inf)
{
struct elf_link_hash_entry *h
/* Free the local elf64_ia64_dyn_sym_info array. */
-static bfd_boolean
+static int
elf64_ia64_local_dyn_info_free (void **slot,
void * unused ATTRIBUTE_UNUSED)
{
return TRUE;
}
-static bfd_boolean
+static int
elf64_ia64_local_dyn_sym_thunk (void **slot, void * xdata)
{
struct elf64_ia64_local_hash_entry *entry
/* Finish up local dynamic symbol handling. We set the contents of
various dynamic sections here. */
-static bfd_boolean
+static int
elf_x86_64_finish_local_dynamic_symbol (void **slot, void *inf)
{
struct elf_link_hash_entry *h
/* Allocate space in .plt, .got and associated reloc sections for
local ifunc dynamic relocs. */
-static bfd_boolean
+static int
elfNN_aarch64_allocate_local_ifunc_dynrelocs (void **slot, void *inf)
{
struct elf_link_hash_entry *h
/* Finish up local dynamic symbol handling. We set the contents of
various dynamic sections here. */
-static bfd_boolean
+static int
elfNN_aarch64_finish_local_dynamic_symbol (void **slot, void *inf)
{
struct elf_link_hash_entry *h
/* Free the local elfNN_ia64_dyn_sym_info array. */
-static bfd_boolean
+static int
elfNN_ia64_local_dyn_info_free (void **slot,
void * unused ATTRIBUTE_UNUSED)
{
return TRUE;
}
-static bfd_boolean
+static int
elfNN_ia64_local_dyn_sym_thunk (void **slot, void * xdata)
{
struct elfNN_ia64_local_hash_entry *entry
/* Allocate space in .plt, .got and associated reloc sections for
local ifunc dynamic relocs. */
-static bfd_boolean
+static int
allocate_local_ifunc_dynrelocs (void **slot, void *inf)
{
struct elf_link_hash_entry *h
return (hashval_t)(e->address >> 2);
}
-static bfd_boolean
+static int
riscv_pcrel_reloc_eq (const void *entry1, const void *entry2)
{
const riscv_pcrel_hi_reloc *e1 = entry1, *e2 = entry2;
/* Finish up local dynamic symbol handling. We set the contents of
various dynamic sections here. */
-static bfd_boolean
+static int
riscv_elf_finish_local_dynamic_symbol (void **slot, void *inf)
{
struct elf_link_hash_entry *h = (struct elf_link_hash_entry *) *slot;
whether the page reference described by *REFP needs a GOT page entry,
and record that entry in DATA->g if so. Set DATA->g to null on failure. */
-static bfd_boolean
+static int
mips_elf_resolve_got_page_ref (void **refp, void *data)
{
struct mips_got_page_ref *ref;
Count the number of global symbols that are in the primary GOT only
because they have relocations against them (reloc_only_gotno). */
-static int
+static bfd_boolean
mips_elf_count_got_symbols (struct mips_elf_link_hash_entry *h, void *data)
{
struct bfd_link_info *info;
/* Allocate space in .plt, .got and associated reloc sections for
local dynamic relocs. */
-static bfd_boolean
+static int
allocate_local_dynrelocs (void **slot, void *inf)
{
struct elf_link_hash_entry *h
/* Finish up local dynamic symbol handling. We set the contents of
various dynamic sections here. */
-static bfd_boolean
+static int
finish_local_dynamic_symbol (void **slot, void *inf)
{
struct elf_link_hash_entry *h
/* Allocate space in .plt, .got and associated reloc sections for
local dynamic relocs. */
-static bfd_boolean
+static int
elf_x86_allocate_local_dynreloc (void **slot, void *inf)
{
struct elf_link_hash_entry *h