X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=bfd%2Fppcboot.c;h=9d9d187613a1cd85ef406dce89ffe63c24343931;hb=efba5c2319d6c25393e5cce9a2d30bbc0cb53123;hp=24f3e0655e523f3490fa7a16c9f72ebc3d64e250;hpb=986f078366b193ed9f5bd02af965f3af958ba859;p=deliverable%2Fbinutils-gdb.git diff --git a/bfd/ppcboot.c b/bfd/ppcboot.c index 24f3e0655e..9d9d187613 100644 --- a/bfd/ppcboot.c +++ b/bfd/ppcboot.c @@ -130,7 +130,7 @@ ppcboot_set_arch_mach (bfd *abfd, was not defaulted. That is, it must be explicitly specified as being ppcboot. */ -static const bfd_target * +static bfd_cleanup ppcboot_object_p (bfd *abfd) { struct stat statbuf; @@ -207,7 +207,7 @@ ppcboot_object_p (bfd *abfd) memcpy (&tdata->header, &hdr, sizeof (ppcboot_hdr_t)); ppcboot_set_arch_mach (abfd, bfd_arch_powerpc, 0L); - return abfd->xvec; + return _bfd_no_cleanup; } #define ppcboot_close_and_cleanup _bfd_generic_close_and_cleanup