This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[RFA] Minor fixes to coffdump.c source
- From: "Pierre Muller" <pierre dot muller at ics-cnrs dot unistra dot fr>
- To: "'Alan Modra'" <amodra at gmail dot com>
- Cc: "'Binutils'" <binutils at sourceware dot org>
- Date: Mon, 28 Mar 2011 14:10:07 +0200
- Subject: [RFA] Minor fixes to coffdump.c source
- References: <003001cbeb36$d0b930b0$722b9210$@muller@ics-cnrs.unistra.fr> <20110328102651.GW13754@bubble.grove.modra.org>
> -----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\