This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: PATCH: Add bfd_sprintf_vma/bfd_fprintf_vma


On Thu, Aug 09, 2001 at 09:26:58AM -0700, Doug Evans wrote:
> 
> I'm not sure I'd bubble bfd_elf_*printf_vma up to the top.
> Why not leave them be internal  implementation details
> of bfd_*printf_vma?

You are right. I checked in the following patch.


H.J.
----
2001-08-09  H.J. Lu  <hjl@gnu.org>

	* bfd-in.h (bfd_elf_sprintf_vma, bfd_elf_fprintf_vma): Moved
	to ...
	* elf-bfd.h: Here.
	* bfd-in2.h: Regenerated.

Index: bfd-in.h
===================================================================
RCS file: /cvs/src/src/bfd/bfd-in.h,v
retrieving revision 1.29
diff -u -p -r1.29 bfd-in.h
--- bfd-in.h	2001/08/09 16:00:21	1.29
+++ bfd-in.h	2001/08/09 16:43:15
@@ -185,8 +185,6 @@ typedef unsigned long bfd_size_type;
 
 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)
Index: bfd-in2.h
===================================================================
RCS file: /cvs/src/src/bfd/bfd-in2.h,v
retrieving revision 1.104
diff -u -p -r1.104 bfd-in2.h
--- bfd-in2.h	2001/08/09 16:00:21	1.104
+++ bfd-in2.h	2001/08/09 16:43:24
@@ -185,8 +185,6 @@ typedef unsigned long bfd_size_type;
 
 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)
Index: elf-bfd.h
===================================================================
RCS file: /cvs/src/src/bfd/elf-bfd.h,v
retrieving revision 1.38
diff -u -p -r1.38 elf-bfd.h
--- elf-bfd.h	2001/08/08 13:09:33	1.38
+++ elf-bfd.h	2001/08/09 16:43:31
@@ -999,6 +999,9 @@ extern void bfd_elf_print_symbol PARAMS 
 #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 unsigned long bfd_elf_hash PARAMS ((const char *));
 
 extern bfd_reloc_status_type bfd_elf_generic_reloc PARAMS ((bfd *,


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]