OSDN Git Service

PR binutils/12467
authornickc <nickc>
Tue, 8 Feb 2011 09:40:02 +0000 (09:40 +0000)
committernickc <nickc>
Tue, 8 Feb 2011 09:40:02 +0000 (09:40 +0000)
commitc3d750415cf214b6d5f72f322475acbb9c355f61
tree87a9365e414011f1843f9d5f1a368d774b619555
parentfcaf9537a503d89666b7da2197ac4c3a8f2d4107
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