Use bfd_get_filename throughout bfd
[deliverable/binutils-gdb.git] / bfd / aix386-core.c
index 1883d9843bb1d57ac46672ee5f3608e6cbd7824f..287ad04235d51b382b1aac1e17a68010a4335088 100644 (file)
@@ -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 *
This page took 0.024296 seconds and 4 git commands to generate.