diff options
Diffstat (limited to 'binutils')
-rw-r--r-- | binutils/ChangeLog | 6 | ||||
-rw-r--r-- | binutils/bucomm.c | 2 | ||||
-rw-r--r-- | binutils/objdump.c | 10 | ||||
-rw-r--r-- | binutils/po/binutils.pot | 2 |
4 files changed, 13 insertions, 7 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 7e87668..6efff5c 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,8 @@ +2001-02-07 Todd Vierling <tv@wasabisystems.com> + + * bucomm.c (bfd_target_vector): Change extern array to pointer. + * objdump.c (bfd_target_vector): Likewise. + 2001-02-07 David Mosberger <davidm@hpl.hp.com> * readelf.c (process_unwind): New function. @@ -12,6 +17,7 @@ * unwind-ia64.h: New file. * Makefile.am: Include unwind-ia64.c in readelf build. * Makefile.in: Regenerate. + * po/binutils.pot: Regenerate. 2001-02-04 Philip Blundell <philb@gnu.org> diff --git a/binutils/bucomm.c b/binutils/bucomm.c index 86c327f..1cf904d 100644 --- a/binutils/bucomm.c +++ b/binutils/bucomm.c @@ -157,7 +157,7 @@ list_supported_targets (name, f) const char *name; FILE *f; { - extern bfd_target *bfd_target_vector[]; + extern const bfd_target *const *bfd_target_vector; int t; if (name == NULL) diff --git a/binutils/objdump.c b/binutils/objdump.c index a665831..1f66ab7 100644 --- a/binutils/objdump.c +++ b/binutils/objdump.c @@ -2644,14 +2644,14 @@ endian_string (endian) static void display_target_list () { - extern bfd_target *bfd_target_vector[]; + extern const bfd_target *const *bfd_target_vector; char *dummy_name; int t; dummy_name = make_temp_file (NULL); for (t = 0; bfd_target_vector[t]; t++) { - bfd_target *p = bfd_target_vector[t]; + const bfd_target *p = bfd_target_vector[t]; bfd *abfd = bfd_openw (dummy_name, p->name); int a; @@ -2692,7 +2692,7 @@ display_info_table (first, last) int first; int last; { - extern bfd_target *bfd_target_vector[]; + extern const bfd_target *const *bfd_target_vector; int t, a; char *dummy_name; @@ -2710,7 +2710,7 @@ display_info_table (first, last) bfd_printable_arch_mach (a, 0)); for (t = first; t < last && bfd_target_vector[t]; t++) { - bfd_target *p = bfd_target_vector[t]; + const bfd_target *p = bfd_target_vector[t]; boolean ok = true; bfd *abfd = bfd_openw (dummy_name, p->name); @@ -2761,7 +2761,7 @@ static void display_target_tables () { int t, columns; - extern bfd_target *bfd_target_vector[]; + extern const bfd_target *const *bfd_target_vector; char *colum; columns = 0; diff --git a/binutils/po/binutils.pot b/binutils/po/binutils.pot index c6df38c..4533b9d 100644 --- a/binutils/po/binutils.pot +++ b/binutils/po/binutils.pot @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2001-02-07 10:50-0800\n" +"POT-Creation-Date: 2001-02-07 15:09-0800\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" |