X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=bfd%2Faoutx.h;h=41ced3dc72aadd100996cd43aa4ff385172094ef;hb=cb001c0d283dd884efe06770d033a50fb1bc6c7d;hp=4fb1282fb6e7c294475a502002993d45c7adc1e4;hpb=2aa90762b71af7f04032d2bebed6470070d3d801;p=deliverable%2Fbinutils-gdb.git diff --git a/bfd/aoutx.h b/bfd/aoutx.h index 4fb1282fb6..41ced3dc72 100644 --- a/bfd/aoutx.h +++ b/bfd/aoutx.h @@ -452,13 +452,13 @@ DESCRIPTION handle any last-minute setup. */ -const bfd_target * +bfd_cleanup NAME (aout, some_aout_object_p) (bfd *abfd, struct internal_exec *execp, - const bfd_target *(*callback_to_real_object_p) (bfd *)) + bfd_cleanup (*callback_to_real_object_p) (bfd *)) { struct aout_data_struct *rawptr, *oldrawptr; - const bfd_target *result; + bfd_cleanup result; size_t amt = sizeof (* rawptr); rawptr = (struct aout_data_struct *) bfd_zalloc (abfd, amt); @@ -591,7 +591,7 @@ NAME (aout, some_aout_object_p) (bfd *abfd, adata (abfd)->segment_size = SEGMENT_SIZE; adata (abfd)->exec_bytes_size = EXEC_BYTES_SIZE; - return abfd->xvec; + return _bfd_no_cleanup /* The architecture is encoded in various ways in various a.out variants, or is not encoded at all in some of them. The relocation size depends