From 43b2afb0ec0c5b43ded0e5369fcdb1ce81131c74 Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Wed, 18 Sep 2002 02:39:43 +0000 Subject: * 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. --- bfd/bfd-in.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bfd/bfd-in.h') diff --git a/bfd/bfd-in.h b/bfd/bfd-in.h index 3941906979e..f30e20d0cbd 100644 --- a/bfd/bfd-in.h +++ b/bfd/bfd-in.h @@ -529,6 +529,8 @@ extern void warn_deprecated #define bfd_get_outsymbols(abfd) ((abfd)->outsymbols) #define bfd_count_sections(abfd) ((abfd)->section_count) +#define bfd_get_dynamic_symcount(abfd) ((abfd)->dynsymcount) + #define bfd_get_symbol_leading_char(abfd) ((abfd)->xvec->symbol_leading_char) #define bfd_set_cacheable(abfd,bool) (((abfd)->cacheable = (boolean) (bool)), true) -- cgit v1.2.1