This is the mail archive of the binutils@sourceware.org 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]
Other format: [Raw text]

[RFA] Minor fixes to coffdump.c source



> -----Message d'origine-----
> De?: binutils-owner@sourceware.org [mailto:binutils-owner@sourceware.org]
De
> la part de Alan Modra
> Envoyé?: lundi 28 mars 2011 12:27
> À?: Pierre Muller
> Cc?: 'Binutils'
> Objet?: Re: [RFA] Allow binutils compilation for mingw64 with --enable-
> targets=all
> 
> On Fri, Mar 25, 2011 at 10:51:35PM +0100, Pierre Muller wrote:
> > 	* coffdump.c (dump_coff_scope): Use double typecast for pointer P
> > 	to allow compilation for all targets.
> 
> OK, thanks!

  Thanks for the approval,
patch committed.

  While doing this, I noticed two mistakes:

May I commit those also?

Pierre

2011-03-28  Pierre Muller  <muller@ics.u-strasbg.fr>

	* coffdump.c (coff_dump): Correct spelling error.
	(show_usage): Replace SYSROFF by COFF.

Index: coffdump.c
===================================================================
RCS file: /cvs/src/src/binutils/coffdump.c,v
retrieving revision 1.19
diff -u -p -r1.19 coffdump.c
--- coffdump.c	28 Mar 2011 11:58:18 -0000	1.19
+++ coffdump.c	28 Mar 2011 12:06:19 -0000
@@ -444,7 +444,7 @@ coff_dump (struct coff_ofile *ptr)
 
   printf ("Coff dump");
   nl ();
-  printf ("#souces %d", ptr->nsources);
+  printf ("#sources %d", ptr->nsources);
   nl ();
   dump_coff_sfile (ptr->source_head);
 
@@ -458,7 +458,7 @@ static void
 show_usage (FILE *file, int status)
 {
   fprintf (file, _("Usage: %s [option(s)] in-file\n"), program_name);
-  fprintf (file, _(" Print a human readable interpretation of a SYSROFF
object file\n"));
+  fprintf (file, _(" Print a human readable interpretation of a COFF object
file\n"));
   fprintf (file, _(" The options are:\n\
   @<file>                Read options from <file>\n\
   -h --help              Display this information\n\


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