aboutsummaryrefslogtreecommitdiff
path: root/bfd/targets.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2001-05-03 17:49:49 +0000
committerNick Clifton <nickc@redhat.com>2001-05-03 17:49:49 +0000
commit966b3e0b90bc1b950a84eb85d36f38229a2c19b6 (patch)
tree9c06ebabef74d03539fb1bab7f30e13f0af3ade9 /bfd/targets.c
parent31e28849ee4ab5a72c38308c8a17233a1d0c58da (diff)
downloadfsf-binutils-gdb-966b3e0b90bc1b950a84eb85d36f38229a2c19b6.zip
fsf-binutils-gdb-966b3e0b90bc1b950a84eb85d36f38229a2c19b6.tar.gz
fsf-binutils-gdb-966b3e0b90bc1b950a84eb85d36f38229a2c19b6.tar.bz2
Compute value of _bfd_target_vector_entries based on the size of
_bfd_target_vector and not bfd_target_vector.
Diffstat (limited to 'bfd/targets.c')
-rw-r--r--bfd/targets.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/targets.c b/bfd/targets.c
index bfcafb1..0e2ca4d 100644
--- a/bfd/targets.c
+++ b/bfd/targets.c
@@ -1005,7 +1005,7 @@ const bfd_target *bfd_default_vector[] = {
/* When there is an ambiguous match, bfd_check_format_matches puts the
names of the matching targets in an array. This variable is the maximum
number of entries that the array could possibly need. */
-const size_t _bfd_target_vector_entries = sizeof (bfd_target_vector)/sizeof (*bfd_target_vector);
+const size_t _bfd_target_vector_entries = sizeof (_bfd_target_vector)/sizeof (*_bfd_target_vector);
/* This array maps configuration triplets onto BFD vectors. */