aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Brolley <brolley@redhat.com>2001-07-25 15:25:11 +0000
committerDave Brolley <brolley@redhat.com>2001-07-25 15:25:11 +0000
commit20fe064957a97380f25cfee7cf0349041f89bfb4 (patch)
treea43b531738b424ae3965de1f9addc6ae2b8f1a4d
parent62f65a7b06c1bdc0805457539d384c6caa05a31a (diff)
downloadgdb-20fe064957a97380f25cfee7cf0349041f89bfb4.zip
gdb-20fe064957a97380f25cfee7cf0349041f89bfb4.tar.gz
gdb-20fe064957a97380f25cfee7cf0349041f89bfb4.tar.bz2
2001-07-25 Dave Brolley <brolley@redhat.com>
* objdump.c (SKIP_ZEROES): Only define it if it is not already defined. (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
-rw-r--r--binutils/ChangeLog5
-rw-r--r--binutils/objdump.c4
2 files changed, 9 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 03e403a..93aba19 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,8 @@
+2001-07-25 Dave Brolley <brolley@redhat.com>
+
+ * objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
+ (SKIP_ZEROES_AT_END): Only define it if it is not already defined.
+
2001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
* README: Update for 2.11. Change bug reporting email address.
diff --git a/binutils/objdump.c b/binutils/objdump.c
index 96b6031..4b64bd6 100644
--- a/binutils/objdump.c
+++ b/binutils/objdump.c
@@ -1222,7 +1222,9 @@ objdump_sprintf (va_alist)
/* The number of zeroes we want to see before we start skipping them.
The number is arbitrarily chosen. */
+#ifndef SKIP_ZEROES
#define SKIP_ZEROES (8)
+#endif
/* The number of zeroes to skip at the end of a section. If the
number of zeroes at the end is between SKIP_ZEROES_AT_END and
@@ -1231,7 +1233,9 @@ objdump_sprintf (va_alist)
attempt to avoid disassembling zeroes inserted by section
alignment. */
+#ifndef SKIP_ZEROES_AT_END
#define SKIP_ZEROES_AT_END (3)
+#endif
/* Disassemble some data in memory between given values. */