diff options
author | David Edelsohn <dje.gcc@gmail.com> | 1995-02-01 05:56:53 +0000 |
---|---|---|
committer | David Edelsohn <dje.gcc@gmail.com> | 1995-02-01 05:56:53 +0000 |
commit | ef6fb95dea3183ce9dbe74be7b3f986f307718ce (patch) | |
tree | fe60159e91dfd194de6a899eb220358420a84d8a /bfd | |
parent | e802f0be04f551980508893f172a7b2642eda098 (diff) | |
download | gdb-ef6fb95dea3183ce9dbe74be7b3f986f307718ce.zip gdb-ef6fb95dea3183ce9dbe74be7b3f986f307718ce.tar.gz gdb-ef6fb95dea3183ce9dbe74be7b3f986f307718ce.tar.bz2 |
* 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.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 10 | ||||
-rw-r--r-- | bfd/libelf.h | 3 |
2 files changed, 13 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index f007ca1..f06535d 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,13 @@ +Tue Jan 31 21:53:28 1995 Doug Evans <dje@canuck.cygnus.com> + + * 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. + Tue Jan 31 15:27:53 1995 Ian Lance Taylor <ian@cygnus.com> * elfcode.h (map_program_segments): Add sorted_hdrs parameter. diff --git a/bfd/libelf.h b/bfd/libelf.h index 3bbde89..2620077 100644 --- a/bfd/libelf.h +++ b/bfd/libelf.h @@ -480,6 +480,9 @@ struct elf_obj_tdata sh_info field in the symbol table header, and always read all the symbols. */ boolean bad_symtab; + + /* Records the result of `get_program_header_size'. */ + bfd_size_type program_header_size; }; #define elf_tdata(bfd) ((bfd) -> tdata.elf_obj_data) |