aboutsummaryrefslogtreecommitdiff
path: root/bfd/bfd.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2002-09-18 02:39:43 +0000
committerDaniel Jacobowitz <drow@false.org>2002-09-18 02:39:43 +0000
commit1f70368c21a866f7379c02da316ae0e2f355d610 (patch)
tree9f66ae0f8d9e0754cc634684f5dd1c6f8bebe48c /bfd/bfd.c
parented6fb7bdf57feb3050b00774d383e945434b6813 (diff)
downloadgdb-1f70368c21a866f7379c02da316ae0e2f355d610.zip
gdb-1f70368c21a866f7379c02da316ae0e2f355d610.tar.gz
gdb-1f70368c21a866f7379c02da316ae0e2f355d610.tar.bz2
* bfd-in.h (bfd_get_dynamic_symcount): Define.
* bfd.c (struct _bfd): Add dynsymcount. * bfd-in2.h: Regenerated. * elf.c (_bfd_elf_canonicalize_dynamic_symtab): Set abfd->dynsymcount. * elfcode.h (elf_slurp_reloc_table_from_section): Check for overflow.
Diffstat (limited to 'bfd/bfd.c')
-rw-r--r--bfd/bfd.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/bfd/bfd.c b/bfd/bfd.c
index 277c74a..cfd7772 100644
--- a/bfd/bfd.c
+++ b/bfd/bfd.c
@@ -128,6 +128,9 @@ CODE_FRAGMENT
. {* Symbol table for output BFD (with symcount entries). *}
. struct symbol_cache_entry **outsymbols;
.
+. {* Used for slurped dynamic symbol tables. *}
+. unsigned int dynsymcount;
+.
. {* Pointer to structure which contains architecture information. *}
. const struct bfd_arch_info *arch_info;
.