aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2002-08-20 23:46:41 +0000
committerAlan Modra <amodra@gmail.com>2002-08-20 23:46:41 +0000
commitc5b060adc59e2cb7c679e9744e61d929f186729c (patch)
tree4ff019c45dc1702a17c52ee8236c6afdcc415a6b /binutils
parent8c2ab17d279e049cd4e446f308703bd28492e5de (diff)
downloadfsf-binutils-gdb-c5b060adc59e2cb7c679e9744e61d929f186729c.zip
fsf-binutils-gdb-c5b060adc59e2cb7c679e9744e61d929f186729c.tar.gz
fsf-binutils-gdb-c5b060adc59e2cb7c679e9744e61d929f186729c.tar.bz2
* readelf.c (parse_args): Change debug_dump_opt to static.
Diffstat (limited to 'binutils')
-rw-r--r--binutils/ChangeLog4
-rw-r--r--binutils/readelf.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 9b0a306..08ce5a9 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,7 @@
+2002-08-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
+
+ * readelf.c (parse_args): Change debug_dump_opt to static.
+
2002-08-16 Sivaguru Sankaridurg <siva@eternal-systems.com>
* stabs.c (parse_stab_argtype): Pass length of physname to
diff --git a/binutils/readelf.c b/binutils/readelf.c
index b0a7934..ea0aa02 100644
--- a/binutils/readelf.c
+++ b/binutils/readelf.c
@@ -2517,7 +2517,7 @@ parse_args (argc, argv)
do_debugging = 1;
else
{
- const char *debug_dump_opt[]
+ static const char *debug_dump_opt[]
= { "line", "info", "abbrev", "pubnames", "ranges",
"macro", "frames", "frames-interp", "str", "loc", NULL };
unsigned int index;