daily update
[deliverable/binutils-gdb.git] / bfd / elfcore.h
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.  */
This page took 0.023104 seconds and 4 git commands to generate.