diff options
author | Jason Thorpe <thorpej@netbsd.org> | 2002-01-28 16:48:52 +0000 |
---|---|---|
committer | Jason Thorpe <thorpej@netbsd.org> | 2002-01-28 16:48:52 +0000 |
commit | e3eb6182fac275518b8e8baf57fc02cef72b388f (patch) | |
tree | 346afd1a7f9dcaecafb79dffb33c8c52f1b7a2bb | |
parent | 9338576e7745f0cbadcae50ce69336e21568b87f (diff) | |
download | binutils-redhat-e3eb6182fac275518b8e8baf57fc02cef72b388f.tar.gz |
* elfcore.h (elf_core_file_p): Improve comment for last change.
-rw-r--r-- | bfd/ChangeLog | 4 | ||||
-rw-r--r-- | bfd/elfcore.h | 4 |
2 files changed, 7 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index ea2af66ac3..169118ee63 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -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. diff --git a/bfd/elfcore.h b/bfd/elfcore.h index 5c818120a0..c206af5f6c 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. */ |