* libieee.h (common_header_type): Add last_byte field.
authorAlan Modra <amodra@gmail.com>
Wed, 15 Aug 2001 14:44:40 +0000 (14:44 +0000)
committerAlan Modra <amodra@gmail.com>
Wed, 15 Aug 2001 14:44:40 +0000 (14:44 +0000)
commit47fda0d3d9e6e2f1c547418b6ba3096ab24af1c9
tree71bbb5382997b2aae77239f78cd453f1514412e8
parent40b3352ba7d2717b5cf0ec7b1756c189c2fd6076
* libieee.h (common_header_type): Add last_byte field.

* ieee.c: Add missing prototypes.  Some format fixes.
(struct output_buffer_struct): Move for availability to prototypes.
(ieee_part_after): New function.
(ieee_slurp_debug): Use it here.
(ieee_seek): Pass in ieee_data_struct rather than bfd.  Use
ieee_part_after to set last_byte to one past end of current part.
Update callers.
(ieee_pos): Pass in ieee_data_struct rather than bfd.
Update callers.
(parse_expression): Don't go beyond the end of the current part.
(ieee_slurp_external_symbols): Correct type passed to read_2bytes.
(ieee_get_symtab_upper_bound, ieee_get_symtab,
ieee_get_symbol_info, ieee_print_symbol, ieee_new_section_hook,
ieee_get_reloc_upper_bound, ieee_canonicalize_reloc, block,
ieee_set_section_contents, ieee_write_object_contents,
ieee_make_empty_symbol): Make static.
(ieee_archive_p): Correct comments regarding bfd_read.
(ieee_object_p): Similarly.
(ieee_mkobject): Move it.  Clear output_ptr_start, output_ptr,
output_ptr_end, input_ptr_start, input_ptr, input_ptr_end,
input_bfd, output_bfd, output_buffer.
(do_as_repeat): Write out ieee_set_current_pc_enum value as for
do_with_relocs, ie. as a symbol for relocatable files.
(ieee_vec): Add comments showing functions referenced by macros.
bfd/ChangeLog
bfd/ieee.c
bfd/libieee.h