aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf-bfd.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2007-09-12 10:00:15 +0000
committerAlan Modra <amodra@gmail.com>2007-09-12 10:00:15 +0000
commit01a3c21322a91d77e51645f58062b9e63cec1f63 (patch)
tree39c692f55416117f6fa7d248a4ec7e84be8672af /bfd/elf-bfd.h
parentec56d5c0f69f681fe8502d22abb63a99e609fb91 (diff)
downloadgdb-01a3c21322a91d77e51645f58062b9e63cec1f63.zip
gdb-01a3c21322a91d77e51645f58062b9e63cec1f63.tar.gz
gdb-01a3c21322a91d77e51645f58062b9e63cec1f63.tar.bz2
* elf-bfd.h (struct elf_backend_data): Delete elf_backend_sprintf_vma
and elf_backend_fprintf_vma. (_bfd_elf_sprintf_vma, _bfd_elf_fprintf_vma): Delete. * elf.c (_bfd_elf_sprintf_vma, _bfd_elf_fprintf_vma): Delete. * elfxx-target.h (elf_backend_sprintf_vma): Don't define. (elf_backend_fprintf_vma): Likewise. (elfNN_bed): Don't init removed fields. * bfd.c (is32bit): New function. (bfd_sprintf_vma, bfd_fprintf_vma): Use the above.
Diffstat (limited to 'bfd/elf-bfd.h')
-rw-r--r--bfd/elf-bfd.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/bfd/elf-bfd.h b/bfd/elf-bfd.h
index 5dea7f9..08841be 100644
--- a/bfd/elf-bfd.h
+++ b/bfd/elf-bfd.h
@@ -953,12 +953,6 @@ struct elf_backend_data
char *(*elf_backend_write_core_note)
(bfd *abfd, char *buf, int *bufsiz, int note_type, ...);
- /* Functions to print VMAs. Special code to handle 64 bit ELF files. */
- void (* elf_backend_sprintf_vma)
- (bfd *, char *, bfd_vma);
- void (* elf_backend_fprintf_vma)
- (bfd *, void *, bfd_vma);
-
/* This function returns class of a reloc type. */
enum elf_reloc_type_class (*elf_backend_reloc_type_class)
(const Elf_Internal_Rela *);
@@ -1552,11 +1546,6 @@ extern bfd_boolean _bfd_elf_print_private_bfd_data
extern void bfd_elf_print_symbol
(bfd *, void *, asymbol *, bfd_print_symbol_type);
-extern void _bfd_elf_sprintf_vma
- (bfd *, char *, bfd_vma);
-extern void _bfd_elf_fprintf_vma
- (bfd *, void *, bfd_vma);
-
extern unsigned int _bfd_elf_eh_frame_address_size
(bfd *, asection *);
extern bfd_byte _bfd_elf_encode_eh_address