* elfcore.h (elf_core_file_p): Improve comment for last change.

This commit is contained in:
Jason Thorpe 2002-01-28 16:48:52 +00:00
parent 00e6e13d12
commit 702248bb87
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2002-01-28 Jason Thorpe <thorpej@wasabisystems.com>
* elfcore.h (elf_core_file_p): Improve comment for last change.
2002-01-27 Daniel Jacobowitz <drow@mvista.com>
* configure: Regenerated.

View File

@ -220,7 +220,9 @@ elf_core_file_p (abfd)
elf_swap_phdr_in (abfd, &x_phdr, i_phdrp + phindex);
}
/* Set the machine architecture. */
/* Set the machine architecture. Do this before processing the
program headers since we need to know the architecture type
when processing the notes of some systems' core files. */
if (! bfd_default_set_arch_mach (abfd, ebd->arch, 0))
{
/* It's OK if this fails for the generic target. */