aboutsummaryrefslogtreecommitdiff
path: root/bfd/bfd-in.h
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2001-08-09 16:00:21 +0000
committerH.J. Lu <hjl.tools@gmail.com>2001-08-09 16:00:21 +0000
commitae4221d7c27786eb790a96d65a78cb0fb7d79fcf (patch)
tree554b68ba1007fa808299ebdcebbba47dc4eb5faf /bfd/bfd-in.h
parent5789ecea4c53e1fa61db1211f4e3f132bbd57788 (diff)
downloadgdb-ae4221d7c27786eb790a96d65a78cb0fb7d79fcf.zip
gdb-ae4221d7c27786eb790a96d65a78cb0fb7d79fcf.tar.gz
gdb-ae4221d7c27786eb790a96d65a78cb0fb7d79fcf.tar.bz2
2001-08-09 H.J. Lu <hjl@gnu.org>
* bfd-in.h (bfd_sprintf_vma): New prototype. (bfd_fprintf_vma): Likewise. (bfd_elf_sprintf_vma): Likewise. (bfd_elf_fprintf_vma): Likewise. (bfd_printf_vma): New. Defined with bfd_fprintf_vma. * bfd-in2.h: Regenerated. * bfd.c (bfd_sprintf_vma): New. Defined. (bfd_fprintf_vma): Likewise. * elf.c (bfd_elf_sprintf_vma): New. Defined. (bfd_elf_fprintf_vma): Likewise.
Diffstat (limited to 'bfd/bfd-in.h')
-rw-r--r--bfd/bfd-in.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/bfd/bfd-in.h b/bfd/bfd-in.h
index a22ddaf..146aac2 100644
--- a/bfd/bfd-in.h
+++ b/bfd/bfd-in.h
@@ -183,7 +183,13 @@ typedef unsigned long bfd_size_type;
#endif /* not BFD64 */
+extern void bfd_sprintf_vma PARAMS ((bfd *, char *, bfd_vma));
+extern void bfd_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));
+
#define printf_vma(x) fprintf_vma(stdout,x)
+#define bfd_printf_vma(abfd,x) bfd_fprintf_vma (abfd,stdout,x)
typedef unsigned int flagword; /* 32 bits of flags */
typedef unsigned char bfd_byte;