2000-04-06 Michael Snyder <msnyder@seadog.cygnus.com>
* elfcore.h (elf_core_file_p): call backend_object_p which thereby gets an opportunity to update the arch/machine type.
This commit is contained in:
parent
1b27397f36
commit
279b54a119
@ -1,3 +1,8 @@
|
||||
2000-04-06 Michael Snyder <msnyder@seadog.cygnus.com>
|
||||
|
||||
* elfcore.h (elf_core_file_p): call backend_object_p which
|
||||
thereby gets an opportunity to update the arch/machine type.
|
||||
|
||||
2000-04-06 Timothy Wall <twall@cygnus.com>
|
||||
|
||||
* coffcode.h (coff_slurp_symbol_table): Handle C_STATLAB storage
|
||||
|
@ -222,5 +222,13 @@ elf_core_file_p (abfd)
|
||||
/* Save the entry point from the ELF header. */
|
||||
bfd_get_start_address (abfd) = i_ehdrp->e_entry;
|
||||
|
||||
/* Let the backend double check the format and override global
|
||||
information. */
|
||||
if (ebd->elf_backend_object_p)
|
||||
{
|
||||
if ((*ebd->elf_backend_object_p) (abfd) == false)
|
||||
goto wrong;
|
||||
}
|
||||
|
||||
return abfd->xvec;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user