This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
[chris@debian.org: Small aesthetic patch for objdump]
- To: binutils at sourceware dot cygnus dot com, nickc at cygnus dot com
- Subject: [chris@debian.org: Small aesthetic patch for objdump]
- From: "H . J . Lu" <hjl at valinux dot com>
- Date: Sat, 29 Jul 2000 16:13:02 -0700
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 @@
}
/* 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)