You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+ Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */
/* This file can only be compiled on systems which use Irix style core
files (namely, Irix 4 and Irix 5, so far). */
#define core_signal(bfd) (core_hdr(bfd)->sig)
#define core_command(bfd) (core_hdr(bfd)->cmd)
+#define irix_core_core_file_matches_executable_p generic_core_file_matches_executable_p
+
static asection *make_bfd_asection
(bfd *, const char *, flagword, bfd_size_type, bfd_vma, file_ptr);
-static const bfd_target *irix_core_core_file_p
- (bfd *);
-static char *irix_core_core_file_failing_command
- (bfd *);
-static int irix_core_core_file_failing_signal
- (bfd *);
-static bfd_boolean irix_core_core_file_matches_executable_p
- (bfd *, bfd *);
-static void swap_abort
- (void);
-#ifdef CORE_MAGIC64
-static int do_sections64
- (bfd *, struct coreout *);
-#endif
-static int do_sections
- (bfd *, struct coreout *);
/* Helper function for irix_core_core_file_p:
32-bit and 64-bit versions. */
return core_signal (abfd);
}
-static bfd_boolean
-irix_core_core_file_matches_executable_p (bfd *core_bfd ATTRIBUTE_UNUSED,
- bfd *exec_bfd ATTRIBUTE_UNUSED)
-{
- return TRUE; /* XXX - FIXME */
-}
-
/* If somebody calls any byte-swapping routines, shoot them. */
static void
swap_abort(void)