[RFA] elfcore.h: Set arch before processing phdrs

Nick Clifton nickc@cambridge.redhat.com
Mon Jan 28 02:05:00 GMT 2002


Hi Jason,

> The following change fixes a problem reading NetBSD ELF core files 
> on Alpha and SPARC systems.
> 
> OK to commit?
> 
> 	* elfcore.h (elf_core_file_p): Set the machine architecture
> 	before processing the program headers.

Approved - please apply.

Can you also add a comment indicating why it is necessary to set the
machine architecture first, so that someone in the future is not
tempted to switch them back.

Cheers
        Nick



More information about the Binutils mailing list