X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=bfd%2Fbout.c;h=c230e18c0ea69818e36f5b2b4efac3786bb859b4;hb=60bcf0fa8c115b4e71d7b1372aca3efccffc9607;hp=4ef10f52057e6f3345759bb1ed3a60f4ae41ba21;hpb=5b64ad42d36e6d487e1f7287d37fbc243a178e72;p=binutils-gdb.git diff --git a/bfd/bout.c b/bfd/bout.c index 4ef10f52057..c230e18c0ea 100644 --- a/bfd/bout.c +++ b/bfd/bout.c @@ -1,5 +1,6 @@ /* BFD back-end for Intel 960 b.out binaries. - Copyright 1990, 91, 92, 93, 94, 95, 1996 Free Software Foundation, Inc. + Copyright 1990, 91, 92, 93, 94, 95, 96, 97, 98, 1999 + Free Software Foundation, Inc. Written by Cygnus Support. This file is part of BFD, the Binary File Descriptor library. @@ -494,7 +495,7 @@ static reloc_howto_type howto_done_align_table[] = { static reloc_howto_type * b_out_bfd_reloc_type_lookup (abfd, code) - bfd *abfd; + bfd *abfd ATTRIBUTE_UNUSED; bfd_reloc_code_real_type code; { switch (code) @@ -1001,8 +1002,8 @@ b_out_set_arch_mach (abfd, arch, machine) static int b_out_sizeof_headers (ignore_abfd, ignore) - bfd *ignore_abfd; - boolean ignore; + bfd *ignore_abfd ATTRIBUTE_UNUSED; + boolean ignore ATTRIBUTE_UNUSED; { return sizeof(struct internal_exec); } @@ -1046,7 +1047,8 @@ get_value (reloc, link_info, input_section) { if (! ((*link_info->callbacks->undefined_symbol) (link_info, bfd_asymbol_name (symbol), - input_section->owner, input_section, reloc->address))) + input_section->owner, input_section, reloc->address, + true))) abort (); value = 0; } @@ -1452,6 +1454,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 */ @@ -1489,6 +1493,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, }; @@ -1530,5 +1536,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 };