aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf64-gen.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2001-08-10 06:00:53 +0000
committerAlan Modra <amodra@gmail.com>2001-08-10 06:00:53 +0000
commit814fa6ab15c254570c9a4d34e4b24a1a8a72ad02 (patch)
treebb2c21909706a6b012c86ac43a2799674e3a2451 /bfd/elf64-gen.c
parentfa6e93186bb6c78690978386cdb6e71999288921 (diff)
downloadgdb-814fa6ab15c254570c9a4d34e4b24a1a8a72ad02.zip
gdb-814fa6ab15c254570c9a4d34e4b24a1a8a72ad02.tar.gz
gdb-814fa6ab15c254570c9a4d34e4b24a1a8a72ad02.tar.bz2
* libxcoff.h (struct xcoff_backend_data_rec): Constify src param
of _xcoff_swap_ld*. * coff-rs6000.c (xcoff_swap_ldhdr_in): Modify type of external param to agree with libxcoff.h. (xcoff_swap_ldhdr_out): Likewise. (xcoff_swap_ldsym_in): Likewise. (xcoff_swap_ldsym_out): Likewise. (xcoff_swap_ldrel_in): Likewise. (xcoff_swap_ldrel_out): Likewise. (xcoff_create_csect_from_smclas): Likewise. * coff64-rs6000.c: Add missing prototypes. (xcoff64_swap_ldhdr_in): Modify type of external param to agree with libxcoff.h. (xcoff64_swap_ldhdr_out): Likewise. (xcoff64_swap_ldsym_in): Likewise. (xcoff64_swap_ldsym_out): Likewise. (xcoff64_swap_ldrel_in): Likewise. (xcoff64_swap_ldrel_out): Likewise. (xcoff64_ppc_relocate_section): Make static. (xcoff64_slurp_armap): Likewise. (xcoff64_archive_p): Likewise. (xcoff64_openr_next_archived_file): Likewise. (xcoff64_sizeof_headers): Likewise. (xcoff64_is_lineno_count_overflow): Likewise. (xcoff64_is_reloc_count_overflow): Likewise. (xcoff64_loader_symbol_offset): Likewise. (xcoff64_loader_reloc_offset): Likewise. * elf64-gen.c: Add missing prototypes.
Diffstat (limited to 'bfd/elf64-gen.c')
-rw-r--r--bfd/elf64-gen.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/bfd/elf64-gen.c b/bfd/elf64-gen.c
index db68a07..c3bfa9c 100644
--- a/bfd/elf64-gen.c
+++ b/bfd/elf64-gen.c
@@ -40,6 +40,13 @@ static reloc_howto_type dummy =
0, /* dst_mask */
false); /* pcrel_offset */
+static void elf_generic_info_to_howto
+ PARAMS ((bfd *, arelent *, Elf64_Internal_Rela *));
+static void elf_generic_info_to_howto_rel
+ PARAMS ((bfd *, arelent *, Elf64_Internal_Rel *));
+static boolean elf64_generic_link_add_symbols
+ PARAMS ((bfd *, struct bfd_link_info *));
+
static void
elf_generic_info_to_howto (abfd, bfd_reloc, elf_reloc)
bfd *abfd ATTRIBUTE_UNUSED;