summaryrefslogtreecommitdiff
path: root/bfd/elf-bfd.h
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2001-08-11 16:48:15 +0000
committerNick Clifton <nickc@redhat.com>2001-08-11 16:48:15 +0000
commita32288021cd7efd92661b2d2bc74b49d17f7e229 (patch)
tree578fce70b5567056b1e07f3c046dd58266722f3c /bfd/elf-bfd.h
parent100615dafa143a2c8c5a74a6275a49ec67a232ba (diff)
downloadgdb-a32288021cd7efd92661b2d2bc74b49d17f7e229.tar.gz
replace direct invocation og elf vma print functions with indirect invocation
Diffstat (limited to 'bfd/elf-bfd.h')
-rw-r--r--bfd/elf-bfd.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/bfd/elf-bfd.h b/bfd/elf-bfd.h
index b0e20ea9aa6..1d684328d2e 100644
--- a/bfd/elf-bfd.h
+++ b/bfd/elf-bfd.h
@@ -636,6 +636,10 @@ struct elf_backend_data
note is found in a core file. */
boolean (*elf_backend_grok_psinfo) PARAMS ((bfd *, Elf_Internal_Note *));
+ /* Functions to print VMAs. Special code to handle 64 bit ELF files. */
+ void (* elf_backend_sprintf_vma) PARAMS ((bfd *, char *, bfd_vma));
+ void (* elf_backend_fprintf_vma) PARAMS ((bfd *, PTR, bfd_vma));
+
/* The swapping table to use when dealing with ECOFF information.
Used for the MIPS ELF .mdebug section. */
const struct ecoff_debug_swap *elf_backend_ecoff_debug_swap;
@@ -999,8 +1003,8 @@ extern void bfd_elf_print_symbol PARAMS ((bfd *, PTR, asymbol *,
#define bfd_elf32_print_symbol bfd_elf_print_symbol
#define bfd_elf64_print_symbol bfd_elf_print_symbol
-extern void bfd_elf_sprintf_vma PARAMS ((bfd *, char *, bfd_vma));
-extern void bfd_elf_fprintf_vma PARAMS ((bfd *, PTR, bfd_vma));
+extern void _bfd_elf_sprintf_vma PARAMS ((bfd *, char *, bfd_vma));
+extern void _bfd_elf_fprintf_vma PARAMS ((bfd *, PTR, bfd_vma));
extern unsigned long bfd_elf_hash PARAMS ((const char *));