* elf-bfd.h (struct elf_obj_tdata): Add segment_map field.
authorIan Lance Taylor <ian@airs.com>
Tue, 28 Nov 1995 22:02:13 +0000 (22:02 +0000)
committerIan Lance Taylor <ian@airs.com>
Tue, 28 Nov 1995 22:02:13 +0000 (22:02 +0000)
commitfd0198f02371c0d604ec7c3162cf60a0a84c0ef0
tree7f92823e70416a077c31b4db5ce30fa9cee0084f
parent6d2d98d31340d6a5e8eca291a70c59d507a8125e
* elf-bfd.h (struct elf_obj_tdata): Add segment_map field.
* elf.c (make_mapping): New static function.
(map_sections_to_segments): New static function.
(elf_sort_sections): New static function.
(assign_file_positions_for_segments): New static function.
(map_program_segments): Remove.
(get_program_header_size): Remove sorted_hdrs, count, and
maxpagesize parameters.  Simplify.
(assign_file_positions_except_relocs): When generating an
executable, use assign_file_positions_for_segments.
(elf_sort_hdrs): Remove.
(_bfd_elf_sizeof_headers): Remove eliminated parameters from call
to get_program_header_size.
bfd/ChangeLog
bfd/elf-bfd.h [new file with mode: 0644]
bfd/elf.c