* elfcore.h (elf_core_file_p): Improve comment for last change.
authorJason Thorpe <thorpej@netbsd.org>
Mon, 28 Jan 2002 16:48:52 +0000 (16:48 +0000)
committerJason Thorpe <thorpej@netbsd.org>
Mon, 28 Jan 2002 16:48:52 +0000 (16:48 +0000)
bfd/ChangeLog
bfd/elfcore.h

index ea2af66ac37acb9774b483284502e24bb8d3d6c4..169118ee63cad098800c9c4a601c35a3b0940273 100644 (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.
index 5c818120a062e3da62345ac7e4d1a53e36f5af3d..c206af5f6c3b73bd4b8693f2861567b7aa8a1bd4 100644 (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.  */