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 | 702248bb874d6a9966d2aac061d49e32d48db8ca (patch) | |
tree | 3ae15948e2f77efd055a3f4a2560d92e4824022b /bfd/elfcore.h | |
parent | 00e6e13d12377b6463072a112eb1f58b701abd6e (diff) | |
download | binutils-702248bb874d6a9966d2aac061d49e32d48db8ca.tar.gz binutils-702248bb874d6a9966d2aac061d49e32d48db8ca.tar.bz2 binutils-702248bb874d6a9966d2aac061d49e32d48db8ca.zip |
* elfcore.h (elf_core_file_p): Improve comment for last change.
Diffstat (limited to 'bfd/elfcore.h')
-rw-r--r-- | bfd/elfcore.h | 4 |
1 files changed, 3 insertions, 1 deletions
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. */ |