aboutsummaryrefslogtreecommitdiff
path: root/bfd/targets.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2001-02-07 23:16:22 +0000
committerNick Clifton <nickc@redhat.com>2001-02-07 23:16:22 +0000
commit7340082dc8d4b1fcd14f6d18fc0086fdae31d556 (patch)
tree93c292ba0787e54e9ce8723f47602adb16e17c30 /bfd/targets.c
parent4d6ed7c8cea13961e6c4bd3425dd679eb44ebc34 (diff)
downloadgdb-7340082dc8d4b1fcd14f6d18fc0086fdae31d556.zip
gdb-7340082dc8d4b1fcd14f6d18fc0086fdae31d556.tar.gz
gdb-7340082dc8d4b1fcd14f6d18fc0086fdae31d556.tar.bz2
Change bfd_target_vector from an array to a pointer
Diffstat (limited to 'bfd/targets.c')
-rw-r--r--bfd/targets.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/bfd/targets.c b/bfd/targets.c
index 8f831f0..0211ec8 100644
--- a/bfd/targets.c
+++ b/bfd/targets.c
@@ -682,7 +682,7 @@ extern const bfd_target sco5_core_vec;
extern const bfd_target trad_core_vec;
extern const bfd_target ptrace_core_vec;
-const bfd_target * const bfd_target_vector[] = {
+static const bfd_target * const _bfd_target_vector[] = {
#ifdef SELECT_VECS
@@ -971,6 +971,7 @@ const bfd_target * const bfd_target_vector[] = {
NULL /* end of list marker */
};
+const bfd_target * const *bfd_target_vector = _bfd_target_vector;
/* bfd_default_vector[0] contains either the address of the default vector,
if there is one, or zero if there isn't. */