summaryrefslogtreecommitdiff
path: root/bfd/bout.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>1999-07-19 14:55:16 +0000
committerNick Clifton <nickc@redhat.com>1999-07-19 14:55:16 +0000
commit67db0cd13059300b8392f99ab8cc220b7db75184 (patch)
tree230a597e306fc9e0a2a40c88e7052f4bd79ed8ec /bfd/bout.c
parent1af6e542657a1ebb2b65c76065d3e3e496c8cf58 (diff)
downloadgdb-67db0cd13059300b8392f99ab8cc220b7db75184.tar.gz
Add new field to bfd_target structure.
Initialise this field for all known bfd targets. Add new search function to targets.c
Diffstat (limited to 'bfd/bout.c')
-rw-r--r--bfd/bout.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/bfd/bout.c b/bfd/bout.c
index 2e2b4b21e43..dd1754af255 100644
--- a/bfd/bout.c
+++ b/bfd/bout.c
@@ -1453,6 +1453,8 @@ b_out_bfd_get_relocated_section_contents (output_bfd, link_info, link_order,
#define aout_32_get_section_contents_in_window \
_bfd_generic_get_section_contents_in_window
+extern const bfd_target b_out_vec_little_host;
+
const bfd_target b_out_vec_big_host =
{
"b.out.big", /* name */
@@ -1490,6 +1492,8 @@ const bfd_target b_out_vec_big_host =
BFD_JUMP_TABLE_LINK (b_out),
BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic),
+ & b_out_vec_little_host,
+
(PTR) 0,
};
@@ -1531,5 +1535,7 @@ const bfd_target b_out_vec_little_host =
BFD_JUMP_TABLE_LINK (b_out),
BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic),
+ & b_out_vec_big_host,
+
(PTR) 0
};