* libelf.h (struct elf_obj_tdata): New member program_header_size.
authorDavid Edelsohn <dje.gcc@gmail.com>
Wed, 1 Feb 1995 05:56:53 +0000 (05:56 +0000)
committerDavid Edelsohn <dje.gcc@gmail.com>
Wed, 1 Feb 1995 05:56:53 +0000 (05:56 +0000)
commitef6fb95dea3183ce9dbe74be7b3f986f307718ce
treefe60159e91dfd194de6a899eb220358420a84d8a
parente802f0be04f551980508893f172a7b2642eda098
* libelf.h (struct elf_obj_tdata): New member program_header_size.
* elfcode.h (get_program_header_size): New parameters sorted_hdrs,
count, and maxpagesize.  All callers updated.
If sorted_hdrs is non-NULL, use it to compute the number of segments.
Save result in case called again.
(assign_file_positions_except_relocs): Sort headers before calling
get_program_header_size.
bfd/ChangeLog
bfd/libelf.h