diff options
author | Alan Modra <amodra@gmail.com> | 2001-08-15 14:44:40 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2001-08-15 14:44:40 +0000 |
commit | 47fda0d3d9e6e2f1c547418b6ba3096ab24af1c9 (patch) | |
tree | 71bbb5382997b2aae77239f78cd453f1514412e8 /bfd/libieee.h | |
parent | 40b3352ba7d2717b5cf0ec7b1756c189c2fd6076 (diff) | |
download | gdb-47fda0d3d9e6e2f1c547418b6ba3096ab24af1c9.zip gdb-47fda0d3d9e6e2f1c547418b6ba3096ab24af1c9.tar.gz gdb-47fda0d3d9e6e2f1c547418b6ba3096ab24af1c9.tar.bz2 |
* 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 aba9cb9..3d919f9 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 ; |