diff options
author | Nick Clifton <nickc@redhat.com> | 1999-07-19 14:55:16 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 1999-07-19 14:55:16 +0000 |
commit | c3c89269f8afef30bf467225f538d56daf57e245 (patch) | |
tree | 203ceab6adb9b30d0831d3eaeeecfb2fd875115f /bfd/mipsbsd.c | |
parent | a9602746fa290e999d3df58bb9281f80340bf5ac (diff) | |
download | binutils-gdb-c3c89269f8afef30bf467225f538d56daf57e245.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/mipsbsd.c')
-rw-r--r-- | bfd/mipsbsd.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/bfd/mipsbsd.c b/bfd/mipsbsd.c index 6abfdc7536a..7a680fb3894 100644 --- a/bfd/mipsbsd.c +++ b/bfd/mipsbsd.c @@ -389,6 +389,8 @@ static CONST struct aout_backend_data MY(backend_data) = { 0 /* finish_dynamic_link */ }; +extern const bfd_target aout_mips_big_vec; + const bfd_target aout_mips_little_vec = { "a.out-mips-little", /* name */ @@ -425,7 +427,9 @@ const bfd_target aout_mips_little_vec = BFD_JUMP_TABLE_LINK (MY), BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), - (PTR) MY_backend_data, + & aout_mips_big_vec, + + (PTR) MY_backend_data }; const bfd_target aout_mips_big_vec = @@ -464,5 +468,7 @@ const bfd_target aout_mips_big_vec = BFD_JUMP_TABLE_LINK (MY), BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), - (PTR) MY_backend_data, + & aout_mips_little_vec, + + (PTR) MY_backend_data }; |