From: Jason Thorpe Date: Mon, 28 Jan 2002 16:48:52 +0000 (+0000) Subject: * elfcore.h (elf_core_file_p): Improve comment for last change. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=702248bb874d6a9966d2aac061d49e32d48db8ca;p=binutils-gdb.git * elfcore.h (elf_core_file_p): Improve comment for last change. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index ea2af66ac37..169118ee63c 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2002-01-28 Jason Thorpe + + * elfcore.h (elf_core_file_p): Improve comment for last change. + 2002-01-27 Daniel Jacobowitz * configure: Regenerated. diff --git a/bfd/elfcore.h b/bfd/elfcore.h index 5c818120a06..c206af5f6c3 100644 --- a/bfd/elfcore.h +++ b/bfd/elfcore.h @@ -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. */