aboutsummaryrefslogtreecommitdiff
path: root/bfd/libcoff.h
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1995-10-06 19:19:48 +0000
committerIan Lance Taylor <ian@airs.com>1995-10-06 19:19:48 +0000
commitc80cc8332c2da0b25b5bd03e4f19458e9f2e3db3 (patch)
tree01e246986af84b32f7b2150ecb17d7d88b8a90b9 /bfd/libcoff.h
parent0e1815de9d860d0a8e65a1f02f65081694bfe03b (diff)
downloadgdb-c80cc8332c2da0b25b5bd03e4f19458e9f2e3db3.zip
gdb-c80cc8332c2da0b25b5bd03e4f19458e9f2e3db3.tar.gz
gdb-c80cc8332c2da0b25b5bd03e4f19458e9f2e3db3.tar.bz2
* coffcode.h (bfd_coff_backend_data): Add new field
_bfd_coff_pointerize_aux_hook. (coff_pointerize_aux_hook): Define as a function if RS6000COFF_C or I960, and as 0 otherwise. (bfd_coff_std_swap_table): Initialize new field. * libcoff.h: Rebuild. * coffgen.c (coff_pointerize_aux): Change parameters to take symbol pointer instead of type and class, and to take aux index. Call _bfd_coff_pointerize_aux_hook if it is defined. (coff_get_normalized_symtab): Always call coff_pointerize_aux. * coff-alpha.c (alpha_ecoff_backend_data): Initialize all fields. * coff-mips.c (mips_ecoff_backend_data): Likewise.
Diffstat (limited to 'bfd/libcoff.h')
-rw-r--r--bfd/libcoff.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/bfd/libcoff.h b/bfd/libcoff.h
index 4e7d837..d136b03 100644
--- a/bfd/libcoff.h
+++ b/bfd/libcoff.h
@@ -391,9 +391,6 @@ typedef struct
bfd *abfd,
PTR internal_scnhdr,
const char *name));
- asection *(*_bfd_make_section_hook) PARAMS ((
- bfd *abfd,
- char *name));
void (*_bfd_set_alignment_hook) PARAMS ((
bfd *abfd,
asection *sec,
@@ -403,6 +400,12 @@ typedef struct
boolean (*_bfd_coff_symname_in_debug) PARAMS ((
bfd *abfd,
struct internal_syment *sym));
+ boolean (*_bfd_coff_pointerize_aux_hook) PARAMS ((
+ bfd *abfd,
+ combined_entry_type *table_base,
+ combined_entry_type *symbol,
+ unsigned int indaux,
+ combined_entry_type *aux));
void (*_bfd_coff_reloc16_extra_cases) PARAMS ((
bfd *abfd,
struct bfd_link_info *link_info,
@@ -514,9 +517,6 @@ typedef struct
#define bfd_coff_styp_to_sec_flags_hook(abfd, scnhdr, name)\
((coff_backend_info (abfd)->_bfd_styp_to_sec_flags_hook) (abfd, scnhdr, name))
-#define bfd_coff_make_section_hook(abfd, name)\
- ((coff_backend_info (abfd)->_bfd_make_section_hook) (abfd, name))
-
#define bfd_coff_set_alignment_hook(abfd, sec, scnhdr)\
((coff_backend_info (abfd)->_bfd_set_alignment_hook) (abfd, sec, scnhdr))