diff options
author | Alan Modra <amodra@bigpond.net.au> | 2004-06-28 13:57:59 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2004-06-28 13:57:59 +0000 |
commit | c7b664173ff7714bcaf34b9900fe5715997a1603 (patch) | |
tree | 9287b44e3bd1f8a3a930f461fd1c69286a3b9f29 /bfd/bfd-in.h | |
parent | 9d3da9f53c3ea90b51a6d7b8c7210a04f3d0fee6 (diff) | |
download | gdb-c7b664173ff7714bcaf34b9900fe5715997a1603.tar.gz |
* bfd-in.h (struct stab_info): Move from stabs.c.
* stabs.c (struct stab_link_includes_table): Delete.
(stab_link_includes_lookup): Delete.
(_bfd_write_section_stabs, _bfd_write_stab_strings): Remove one
level of indirection from sinfo parm.
(_bfd_link_section_stabs): Likewise. Set SEC_LINKER_CREATED on
stabstr section. Adjust hash table accesses.
* coff-ppc.c (ppc_bfd_coff_final_link): Do include rawsize in contents
alloc. Adjust stab_info test.
* cofflink.c (_bfd_coff_link_hash_table_init): Clear stab_info.
(_bfd_coff_final_link): Adjust stab_info test.
(_bfd_coff_link_input_bfd): Ignore SEC_LINKER_CREATED sections.
* elf-bfd.h (struct elf_link_hash_table): Include struct stab_info
in place.
* libcoff-in.h (struct coff_link_hash_table): Likewise.
* elf.c (_bfd_elf_link_hash_table_init): Clear stab_info.
* elflink.c (bfd_elf_final_link): Don't attempt to link linker created
stabstr section. Adjust stab_info test.
* libbfd-in.h (_bfd_link_section_stabs, _bfd_write_section_stabs)
(_bfd_write_stab_strings): Adjust prototypes.
* libbfd.h: Regenerate.
* libcoff.h: Regenerate.
* bfd-in2.h: Regenerate.
Diffstat (limited to 'bfd/bfd-in.h')
-rw-r--r-- | bfd/bfd-in.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/bfd/bfd-in.h b/bfd/bfd-in.h index f2739484cf5..b3eb2939b00 100644 --- a/bfd/bfd-in.h +++ b/bfd/bfd-in.h @@ -439,6 +439,19 @@ extern void bfd_hash_traverse this size. */ extern void bfd_hash_set_default_size (bfd_size_type); +/* This structure is used to keep track of stabs in sections + information while linking. */ + +struct stab_info +{ + /* A hash table used to hold stabs strings. */ + struct bfd_strtab_hash *strings; + /* The header file hash table. */ + struct bfd_hash_table includes; + /* The first .stabstr section. */ + struct bfd_section *stabstr; +}; + #define COFF_SWAP_TABLE (void *) &bfd_coff_std_swap_table /* User program access to BFD facilities. */ |