From c06e013c0bc433048c5b5d19bf1cacf9c4a72d26 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Thu, 22 Aug 2002 01:27:20 +0000 Subject: * elf-bfd.h (struct elf_backend_data): Add struct elf_backend_data param to elf_backend_copy_indirect_symbol. (_bfd_elf_link_hash_copy_indirect): Likewise. * elflink.h (elf_add_default_symbol, elf_fix_symbol_flags): Adjust calls to copy_indirect_symbol. * elf32-hppa.c (elf32_hppa_copy_indirect_symbol): Likewise. * elf32-i386.c (elf_i386_copy_indirect_symbol): Likewise. * elf32-s390.c (elf_s390_copy_indirect_symbol): Likewise. * elf64-ppc.c (ppc64_elf_copy_indirect_symbol): Likewise. * elf64-s390.c (elf_s390_copy_indirect_symbol): Likewise. * elf64-x86-64.c (elf64_x86_64_copy_indirect_symbol): Likewise. * elfxx-ia64.c (elfNN_ia64_hash_copy_indirect): Likewise. * elfxx-mips.c (_bfd_mips_elf_copy_indirect_symbol): Likewise. * elfxx-mips.h (_bfd_mips_elf_copy_indirect_symbol): Likewise. * elf.c (_bfd_elf_link_hash_copy_indirect): Likewise. Properly test refcounts for "used" values. --- bfd/elfxx-mips.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bfd/elfxx-mips.h') diff --git a/bfd/elfxx-mips.h b/bfd/elfxx-mips.h index 2bdaacc201..2c8ac2f2fb 100644 --- a/bfd/elfxx-mips.h +++ b/bfd/elfxx-mips.h @@ -68,7 +68,8 @@ extern boolean _bfd_mips_elf_gc_sweep_hook PARAMS ((bfd *, struct bfd_link_info *, asection *, const Elf_Internal_Rela *)); extern void _bfd_mips_elf_copy_indirect_symbol - PARAMS ((struct elf_link_hash_entry *, struct elf_link_hash_entry *)); + PARAMS ((struct elf_backend_data *, struct elf_link_hash_entry *, + struct elf_link_hash_entry *)); extern void _bfd_mips_elf_hide_symbol PARAMS ((struct bfd_link_info *, struct elf_link_hash_entry *, boolean)); extern boolean _bfd_mips_elf_ignore_discarded_relocs -- cgit v1.2.1