X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=bfd%2Felfcore.h;h=44707ebb60fbd7659693fcffd06ef0064c4cc42f;hb=cb001c0d283dd884efe06770d033a50fb1bc6c7d;hp=591ca531a6325d44f59059232adb0df1db393b71;hpb=2aa90762b71af7f04032d2bebed6470070d3d801;p=deliverable%2Fbinutils-gdb.git diff --git a/bfd/elfcore.h b/bfd/elfcore.h index 591ca531a6..44707ebb60 100644 --- a/bfd/elfcore.h +++ b/bfd/elfcore.h @@ -83,7 +83,7 @@ elf_core_file_matches_executable_p (bfd *core_bfd, bfd *exec_bfd) that allow standard bfd access to the general registers (.reg) and the floating point registers (.reg2). */ -const bfd_target * +bfd_cleanup elf_core_file_p (bfd *abfd) { Elf_External_Ehdr x_ehdr; /* Elf file header, external form. */ @@ -314,7 +314,7 @@ elf_core_file_p (bfd *abfd) /* Save the entry point from the ELF header. */ abfd->start_address = i_ehdrp->e_entry; - return abfd->xvec; + return _bfd_no_cleanup; wrong: bfd_set_error (bfd_error_wrong_format);