diff options
author | Ian Lance Taylor <ian@airs.com> | 1994-04-01 17:55:47 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1994-04-01 17:55:47 +0000 |
commit | 9deaaaf1b35a54f776957492c4300ea993a3961c (patch) | |
tree | 31e0c78e242ef082c5ab7045180df9fcfd8980fd /bfd/bfd-in2.h | |
parent | 7ed5e9704bba4b5c5a85368655acd36f8751a1b1 (diff) | |
download | gdb-9deaaaf1b35a54f776957492c4300ea993a3961c.zip gdb-9deaaaf1b35a54f776957492c4300ea993a3961c.tar.gz gdb-9deaaaf1b35a54f776957492c4300ea993a3961c.tar.bz2 |
* targets.c (bfd_target): Add _bfd_free_cached_info field.
* bfd.c (bfd_free_cached_info): Define.
* bfd-in.h (JUMP_TABLE): Add _bfd_free_cached_info.
* bfd-in2.h: Rebuilt.
* All backends: Initialize bfd_free_cached_info entry point to
bfd_true.
Diffstat (limited to 'bfd/bfd-in2.h')
-rw-r--r-- | bfd/bfd-in2.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h index 25adc05..248c04f 100644 --- a/bfd/bfd-in2.h +++ b/bfd/bfd-in2.h @@ -456,7 +456,8 @@ CAT(NAME,_bfd_reloc_type_lookup),\ CAT(NAME,_bfd_make_debug_symbol),\ CAT(NAME,_bfd_link_hash_table_create),\ CAT(NAME,_bfd_link_add_symbols),\ -CAT(NAME,_bfd_final_link) +CAT(NAME,_bfd_final_link),\ +CAT(NAME,_bfd_free_cached_info) #define COFF_SWAP_TABLE (PTR) &bfd_coff_std_swap_table @@ -1929,6 +1930,9 @@ bfd_copy_private_bfd_data PARAMS ((bfd *ibfd, bfd *obfd)); #define bfd_final_link(abfd, info) \ BFD_SEND (abfd, _bfd_final_link, (abfd, info)) +#define bfd_free_cached_info(abfd) \ + BFD_SEND (abfd, _bfd_free_cached_info, (abfd)) + symindex bfd_get_next_mapent PARAMS ((bfd *abfd, symindex previous, carsym **sym)); @@ -2110,6 +2114,9 @@ typedef struct bfd_target section of the BFD. */ boolean (*_bfd_final_link) PARAMS ((bfd *, struct bfd_link_info *)); + /* Ask the BFD to free all cached information. */ + boolean (*_bfd_free_cached_info) PARAMS ((bfd *)); + PTR backend_data; } bfd_target; bfd_target * |