From c5b060adc59e2cb7c679e9744e61d929f186729c Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Tue, 20 Aug 2002 23:46:41 +0000 Subject: [PATCH] * readelf.c (parse_args): Change debug_dump_opt to static. --- binutils/ChangeLog | 4 ++++ binutils/readelf.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 9b0a306f9fd..08ce5a9250f 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,7 @@ +2002-08-21 John David Anglin + + * readelf.c (parse_args): Change debug_dump_opt to static. + 2002-08-16 Sivaguru Sankaridurg * stabs.c (parse_stab_argtype): Pass length of physname to diff --git a/binutils/readelf.c b/binutils/readelf.c index b0a79340ca2..ea0aa023701 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; -- 2.30.2