diff options
author | Ian Lance Taylor <ian@airs.com> | 1995-10-06 20:36:26 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1995-10-06 20:36:26 +0000 |
commit | 0fc9ada91e57483d1f5c538e603b5dd78a3cb04b (patch) | |
tree | c4cadcf6f41d9e4a293afe7b62e7d02234137859 /bfd/libcoff.h | |
parent | 7860fe38465c4a08977b2b65d142be9ebb0270eb (diff) | |
download | gdb-0fc9ada91e57483d1f5c538e603b5dd78a3cb04b.zip gdb-0fc9ada91e57483d1f5c538e603b5dd78a3cb04b.tar.gz gdb-0fc9ada91e57483d1f5c538e603b5dd78a3cb04b.tar.bz2 |
* coffcode.h (bfd_coff_backend_data): Add new field
_bfd_coff_print_aux.
(bfd_coff_print_aux): New static function.
(coff_pointerize_aux_hook (RS6000COFF_C version)): Pointerize the
scnlen field of an XTY_LD csect aux entry.
(coff_print_aux): New static function.
(coff_slurp_symbol_table): Don't pointerize scnlen field; now done
in coff_pointerize_aux_hook.
(bfd_coff_std_swap_table): Initialize new field.
* coffgen.c (coff_print_symbol): Call bfd_coff_print_aux.
* libcoff.h: Rebuild.
* coff-alpha.c (alpha_ecoff_backend_data): Initialize new field.
* coff-mips.c (mips_ecoff_backend_data): Likewise.
Diffstat (limited to 'bfd/libcoff.h')
-rw-r--r-- | bfd/libcoff.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/bfd/libcoff.h b/bfd/libcoff.h index d136b03..4650bfc 100644 --- a/bfd/libcoff.h +++ b/bfd/libcoff.h @@ -264,7 +264,7 @@ unsigned int fix_tag : 1; unsigned int fix_end : 1; /* Should the x_csect.x_scnlen field be renumbered. - Created by coff_slurp_symbol_table. */ + Created by coff_pointerize_aux. */ unsigned int fix_scnlen : 1; /* The container for the symbol structure as read and translated @@ -406,6 +406,13 @@ typedef struct combined_entry_type *symbol, unsigned int indaux, combined_entry_type *aux)); + boolean (*_bfd_coff_print_aux) PARAMS (( + bfd *abfd, + FILE *file, + combined_entry_type *table_base, + combined_entry_type *symbol, + combined_entry_type *aux, + unsigned int indaux)); void (*_bfd_coff_reloc16_extra_cases) PARAMS (( bfd *abfd, struct bfd_link_info *link_info, @@ -526,6 +533,10 @@ typedef struct #define bfd_coff_symname_in_debug(abfd, sym)\ ((coff_backend_info (abfd)->_bfd_coff_symname_in_debug) (abfd, sym)) +#define bfd_coff_print_aux(abfd, file, base, symbol, aux, indaux)\ + ((coff_backend_info (abfd)->_bfd_coff_print_aux)\ + (abfd, file, base, symbol, aux, indaux)) + #define bfd_coff_reloc16_extra_cases(abfd, link_info, link_order, reloc, data, src_ptr, dst_ptr)\ ((coff_backend_info (abfd)->_bfd_coff_reloc16_extra_cases)\ (abfd, link_info, link_order, reloc, data, src_ptr, dst_ptr)) |