* elfcode.h (elf_swap_ehdr_out): Handle e_phnum > 0xffff.
authorAlan Modra <amodra@gmail.com>
Tue, 19 Jan 2010 13:50:55 +0000 (13:50 +0000)
committerAlan Modra <amodra@gmail.com>
Tue, 19 Jan 2010 13:50:55 +0000 (13:50 +0000)
commitecd12bc14d85421fcf992cda5af1d534cc8736e0
tree8500eab75a7a402d156e7beda24827422b6c16a8
parentc75a08aa7c3ae2b586e5f29f00e01b702a9b5f3d
    * elfcode.h (elf_swap_ehdr_out): Handle e_phnum > 0xffff.
(elf_object_p): Read e_phnum extension.
(elf_write_shdrs_and_ehdr): Write e_phnum extension.
        * elfcore.h (elf_core_file_p): Read e_phnum extension.  Sanity check
that we can read last program header.
bfd/ChangeLog
bfd/elfcode.h
bfd/elfcore.h