aboutsummaryrefslogtreecommitdiff
path: root/bfd/elfxx-target.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/elfxx-target.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/elfxx-target.h')
-rw-r--r--bfd/elfxx-target.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/bfd/elfxx-target.h b/bfd/elfxx-target.h
index c803763..f6b6760 100644
--- a/bfd/elfxx-target.h
+++ b/bfd/elfxx-target.h
@@ -494,12 +494,6 @@
#ifndef elf_backend_write_core_note
#define elf_backend_write_core_note NULL
#endif
-#ifndef elf_backend_sprintf_vma
-#define elf_backend_sprintf_vma _bfd_elf_sprintf_vma
-#endif
-#ifndef elf_backend_fprintf_vma
-#define elf_backend_fprintf_vma _bfd_elf_fprintf_vma
-#endif
#ifndef elf_backend_reloc_type_class
#define elf_backend_reloc_type_class _bfd_elf_reloc_type_class
#endif
@@ -676,8 +670,6 @@ static struct elf_backend_data elfNN_bed =
elf_backend_grok_prstatus,
elf_backend_grok_psinfo,
elf_backend_write_core_note,
- elf_backend_sprintf_vma,
- elf_backend_fprintf_vma,
elf_backend_reloc_type_class,
elf_backend_discard_info,
elf_backend_ignore_discarded_relocs,