PR binutils/12467
commitfae075abc01ebd72ab10e809adec5abe5a2611e4
authorNick Clifton <nickc@redhat.com>
Tue, 8 Feb 2011 09:40:02 +0000 (8 09:40 +0000)
committerNick Clifton <nickc@redhat.com>
Tue, 8 Feb 2011 09:40:02 +0000 (8 09:40 +0000)
treead844d1dda14556261e87ce1da8d5e0e200a70ea
parent64a1cfc4f1012274308faebcc81eceee02a8bc93
PR binutils/12467
* readelf.c (process_program_headers): Issue a warning if there
are no program headers but the file header has a non-zero program
header offset.
(process_section_headers): Issue a warning if there are no section
headers but the file header has a non-zero section header offset.
(process_section_groups): Reword the no section message so that it
can be distinguished from the one issued by process_section_headers.

* elf.c (assign_file_positions_for_load_sections): Set the program
header offset and entry size to zero if there are no program
headers.
bfd/ChangeLog
bfd/elf.c
binutils/ChangeLog
binutils/readelf.c