From b4655ea91714a2bb40fe1fcae95c36f6e9d6c17b Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Sat, 4 May 2002 02:06:22 +0000 Subject: * elf32-hppa.c (struct elf32_hppa_link_hash_table): Add bfd_count top_index, input_list, all_local_syms. (elf32_hppa_setup_section_lists): New function, split from elf32_hppa_size_stubs. (elf32_hppa_next_input_section): Likewise. (group_sections): Likewise. (get_local_syms): Likewise. (elf32_hppa_size_stubs): Adjust for split out functions. Look for stubs on undefined syms too. (elf32_hppa_set_gp): Use bfd_link_hash* instead of elf_link_hash*. Only access htab elf fields when we have and elf hash table. * elf32-hppa.h (elf32_hppa_setup_section_lists): Declare. (elf32_hppa_next_input_section): Declare. --- bfd/elf32-hppa.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'bfd/elf32-hppa.h') diff --git a/bfd/elf32-hppa.h b/bfd/elf32-hppa.h index ea680c3..720cd08 100644 --- a/bfd/elf32-hppa.h +++ b/bfd/elf32-hppa.h @@ -36,6 +36,12 @@ #include "libhppa.h" #include "elf/hppa.h" +int elf32_hppa_setup_section_lists + PARAMS ((bfd *, struct bfd_link_info *)); + +void elf32_hppa_next_input_section + PARAMS ((struct bfd_link_info *, asection *)); + boolean elf32_hppa_size_stubs PARAMS ((bfd *, bfd *, struct bfd_link_info *, boolean, bfd_signed_vma, asection * (*) PARAMS ((const char *, asection *)), -- cgit v1.1