aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf-bfd.h
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>2000-04-24 07:55:09 +0000
committerJeff Law <law@redhat.com>2000-04-24 07:55:09 +0000
commitb9f6667271e3dcb238c04160c38a46d2bd37753c (patch)
tree436c680fc41a3c79b850109dadd42bf9cbad5a45 /bfd/elf-bfd.h
parent23afc6f6722aa41d5eda6ea74c24201b13b8322c (diff)
downloadgdb-b9f6667271e3dcb238c04160c38a46d2bd37753c.zip
gdb-b9f6667271e3dcb238c04160c38a46d2bd37753c.tar.gz
gdb-b9f6667271e3dcb238c04160c38a46d2bd37753c.tar.bz2
* elf-bfd.h: Add prototypes for bfd_elf32_write_relocs,
bfd_elf32_slurp_reloc_table, bfd_elf64_write_relocs, and bfd_elf64_slurp_reloc_table. * elfcode.h (elf_write_relocs, elf_slurp_reloc_table): New definitions to get external names. (elf_write_relocs): Renamed from write_relocs and make global. (elf_slurp_reloc_table): Make global. (_bfd_elf,size_info): Use elf_write_relocs instead of write_relocs.
Diffstat (limited to 'bfd/elf-bfd.h')
-rw-r--r--bfd/elf-bfd.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/bfd/elf-bfd.h b/bfd/elf-bfd.h
index 0dcecdf..3978aee 100644
--- a/bfd/elf-bfd.h
+++ b/bfd/elf-bfd.h
@@ -1142,6 +1142,10 @@ extern long bfd_elf32_slurp_symbol_table
extern boolean bfd_elf32_write_shdrs_and_ehdr PARAMS ((bfd *));
extern int bfd_elf32_write_out_phdrs
PARAMS ((bfd *, const Elf_Internal_Phdr *, int));
+extern void bfd_elf32_write_relocs
+ PARAMS ((bfd *, asection *, PTR));
+extern boolean bfd_elf32_slurp_reloc_table
+ PARAMS ((bfd *, asection *, asymbol **, boolean));
extern boolean bfd_elf32_add_dynamic_entry
PARAMS ((struct bfd_link_info *, bfd_vma, bfd_vma));
extern boolean bfd_elf32_link_create_dynamic_sections
@@ -1185,6 +1189,10 @@ extern long bfd_elf64_slurp_symbol_table
extern boolean bfd_elf64_write_shdrs_and_ehdr PARAMS ((bfd *));
extern int bfd_elf64_write_out_phdrs
PARAMS ((bfd *, const Elf_Internal_Phdr *, int));
+extern void bfd_elf64_write_relocs
+ PARAMS ((bfd *, asection *, PTR));
+extern boolean bfd_elf64_slurp_reloc_table
+ PARAMS ((bfd *, asection *, asymbol **, boolean));
extern boolean bfd_elf64_add_dynamic_entry
PARAMS ((struct bfd_link_info *, bfd_vma, bfd_vma));
extern boolean bfd_elf64_link_create_dynamic_sections