2000-03-01 H.J. Lu <hjl@gnu.org>
[deliverable/binutils-gdb.git] / bfd / bout.c
index 4ef10f52057e6f3345759bb1ed3a60f4ae41ba21..c230e18c0ea69818e36f5b2b4efac3786bb859b4 100644 (file)
@@ -1,5 +1,6 @@
 /* BFD back-end for Intel 960 b.out binaries.
 /* 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.
    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)
 
 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)
      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)
 
 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);
 }
 {
   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),
        {
          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;
        }
            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
 
 #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 */
 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),
 
      BFD_JUMP_TABLE_LINK (b_out),
      BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic),
 
+  & b_out_vec_little_host,
+  
   (PTR) 0,
 };
 
   (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),
 
      BFD_JUMP_TABLE_LINK (b_out),
      BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic),
 
+  & b_out_vec_big_host,
+  
   (PTR) 0
 };
   (PTR) 0
 };
This page took 0.024454 seconds and 4 git commands to generate.