/* BFD back-end for AIX on PS/2 core files.
This was based on trad-core.c, which was written by John Gilmore of
Cygnus Support.
- Copyright (C) 1988-2019 Free Software Foundation, Inc.
+ Copyright (C) 1988-2020 Free Software Foundation, Inc.
Written by Minh Tran-Le <TRANLE@INTELLICORP.COM>.
Converted to back end form by Ian Lance Taylor <ian@cygnus.com>.
asection *sections[MAX_CORE_SEGS];
};
-static const bfd_target *
+static bfd_cleanup
aix386_core_file_p (bfd *abfd)
{
int i, n;
unsigned char longbuf[4]; /* Raw bytes of various header fields */
bfd_size_type core_size = sizeof (struct corehdr);
- bfd_size_type amt;
+ size_t amt;
struct corehdr *core;
struct mergem
{
n++;
}
- return abfd->xvec;
+ return _bfd_no_cleanup;
}
static char *