OSDN Git Service

* libieee.h (common_header_type): Add last_byte field.
authoramodra <amodra>
Wed, 15 Aug 2001 14:44:40 +0000 (14:44 +0000)
committeramodra <amodra>
Wed, 15 Aug 2001 14:44:40 +0000 (14:44 +0000)
commitdaef357250bc4180f00e8343aaefa2afe303147a
tree6df4cdfb584af737eaf9342107f7f7a4e39e0d16
parente9e7bc9edcffafc4b6d75657735b3f8a9f44ef58
* 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