diff options
author | Alan Modra <amodra@bigpond.net.au> | 2001-08-15 14:44:40 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2001-08-15 14:44:40 +0000 |
commit | e19018e8e3b762874d5f6f279fa48bcc7e8db9b2 (patch) | |
tree | 8cc5f21f4bd9aad7e3a78b1d426a0ab0f71ec722 /bfd/libieee.h | |
parent | 7ee41708bce2b8d906b5e4b235a4d8693c8e4a54 (diff) | |
download | binutils-redhat-e19018e8e3b762874d5f6f279fa48bcc7e8db9b2.tar.gz |
* 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.
Diffstat (limited to 'bfd/libieee.h')
-rw-r--r-- | bfd/libieee.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/bfd/libieee.h b/bfd/libieee.h index aba9cb9bb2..3d919f9a01 100644 --- a/bfd/libieee.h +++ b/bfd/libieee.h @@ -1,5 +1,6 @@ /* IEEE-695 object file formats: definitions internal to BFD. - Copyright 1990, 1991, 1992, 1994, 1996 Free Software Foundation, Inc. + Copyright 1990, 1991, 1992, 1994, 1996, 2001 + Free Software Foundation, Inc. Written by Cygnus Support. Mostly Steve Chamberlain's fault. This file is part of BFD, the Binary File Descriptor library. @@ -62,8 +63,9 @@ typedef struct ieee_per_section #define ieee_per_section(x) ((ieee_per_section_type *)((x)->used_by_bfd)) typedef struct { - unsigned char *input_p; + unsigned char *input_p; unsigned char *first_byte; + unsigned char *last_byte; bfd *abfd; } common_header_type ; |