2001-06-23 Ben Elliston <bje@redhat.com>
[deliverable/binutils-gdb.git] / bfd / irix-core.c
index 964ca20eac52e843e2eec11ff7ab49898db727e6..2de76f12e12d6db126dffcd7ff28289a470c1caf 100644 (file)
@@ -1,5 +1,5 @@
 /* BFD back-end for Irix core files.
-   Copyright 1993, 94, 95, 96, 1997 Free Software Foundation, Inc.
+   Copyright 1993, 1994, 1996, 1999, 2001 Free Software Foundation, Inc.
    Written by Stu Grossman, Cygnus Support.
    Converted to back-end form by Ian Lance Taylor, Cygnus Support
 
@@ -165,8 +165,9 @@ irix_core_core_file_p (abfd)
                     idg->i_len + idf->i_len + ids->i_len,
                     0,
                     idg->i_offset);
-
   /* OK, we believe you.  You're a core file (sure, sure).  */
+  bfd_default_set_arch_mach (abfd, bfd_arch_mips, 0);
 
   return abfd->xvec;
 }
@@ -270,6 +271,8 @@ const bfd_target irix_core_vec =
        BFD_JUMP_TABLE_LINK (_bfd_nolink),
        BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic),
 
+    NULL,
+    
     (PTR) 0                    /* backend_data */
 };
 
This page took 0.023256 seconds and 4 git commands to generate.