X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=bfd%2Faix386-core.c;h=287ad04235d51b382b1aac1e17a68010a4335088;hb=39ec04904ff172dd67fd43ed3720f26d854732bf;hp=de3afd5a12d49cf5564c97aaecf87a4ed783b232;hpb=d00dd7dc5e415503de88614bf2ea4aafa2bca819;p=deliverable%2Fbinutils-gdb.git diff --git a/bfd/aix386-core.c b/bfd/aix386-core.c index de3afd5a12..287ad04235 100644 --- a/bfd/aix386-core.c +++ b/bfd/aix386-core.c @@ -1,7 +1,7 @@ /* 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-2018 Free Software Foundation, Inc. + Copyright (C) 1988-2020 Free Software Foundation, Inc. Written by Minh Tran-Le . Converted to back end form by Ian Lance Taylor . @@ -65,13 +65,13 @@ struct trad_core_struct 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 { @@ -189,7 +189,7 @@ aix386_core_file_p (bfd *abfd) n++; } - return abfd->xvec; + return _bfd_no_cleanup; } static char *