public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [chris@debian.org: Small aesthetic patch for objdump]
@ 2000-07-29 16:13 H . J . Lu
  2000-07-29 18:56 ` Geoff Keating
  0 siblings, 1 reply; 6+ messages in thread
From: H . J . Lu @ 2000-07-29 16:13 UTC (permalink / raw)
  To: binutils, nickc

Ok to install?


H.J.
----- Forwarded message from "Christopher C. Chimelis" <chris@debian.org> -----

Envelope-to: hjl@valinux.com
Delivery-date: Sat, 29 Jul 2000 13:05:48 -0700
Date: Sat, 29 Jul 2000 16:05:45 -0400 (EDT)
From: "Christopher C. Chimelis" <chris@debian.org>
To: "H . J . Lu" <hjl@valinux.com>
Subject: Small aesthetic patch for objdump


Hey :-)

Below is a patch for objdump.c that properly sets the size of the
LONGEST_ARCH to the size of the "powerpc:common" string (since rs6000:6000
is no longer the longest.  This helps things line up better when doing an
'objdump -i' when binutils is compiled with multiple target archs.

I've had this for quite some time, but forgot to submit it for some
reason...

Thanks!
C

--- binutils-2.10.0.18.orig/binutils/objdump.c
+++ binutils-2.10.0.18/binutils/objdump.c
@@ -2613,7 +2613,7 @@
 }
 \f
 /* The length of the longest architecture name + 1.  */
-#define LONGEST_ARCH sizeof("rs6000:6000")
+#define LONGEST_ARCH sizeof("powerpc:common")
 
 static const char *
 endian_string (endian)


----- End forwarded message -----

-- 
H.J. Lu (hjl@gnu.org)

^ permalink raw reply	[flat|nested] 6+ messages in thread
* Re: [chris@debian.org: Small aesthetic patch for objdump]
@ 2000-07-29 16:39 Nick Clifton
  2000-08-17 18:58 ` H . J . Lu
  0 siblings, 1 reply; 6+ messages in thread
From: Nick Clifton @ 2000-07-29 16:39 UTC (permalink / raw)
  To: hjl; +Cc: binutils

Hi H.J.,

: Ok to install?

Sure.

Cheers
	Nick


: --- binutils-2.10.0.18.orig/binutils/objdump.c
: +++ binutils-2.10.0.18/binutils/objdump.c
: @@ -2613,7 +2613,7 @@
:  }
:  \f
:  /* The length of the longest architecture name + 1.  */
: -#define LONGEST_ARCH sizeof("rs6000:6000")
: +#define LONGEST_ARCH sizeof("powerpc:common")
:  
:  static const char *
:  endian_string (endian)


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2000-08-17 18:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-07-29 16:13 [chris@debian.org: Small aesthetic patch for objdump] H . J . Lu
2000-07-29 18:56 ` Geoff Keating
2000-07-29 21:17   ` Christopher C. Chimelis
2000-07-29 21:25     ` H . J . Lu
2000-07-29 16:39 Nick Clifton
2000-08-17 18:58 ` H . J . Lu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).