aboutsummaryrefslogtreecommitdiff
path: root/bfd/libbfd.h
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@codesourcery.com>2003-10-07 08:53:42 +0000
committerNathan Sidwell <nathan@codesourcery.com>2003-10-07 08:53:42 +0000
commit29ca8dc5bbf7312b8f264e5ad5efee8db6a7d95a (patch)
treee5cba2ea74dcb45d1da4e85db7282c1bff99797f /bfd/libbfd.h
parentcd339148dea20e4fffc4a184329a978c7894a9e5 (diff)
downloadgdb-29ca8dc5bbf7312b8f264e5ad5efee8db6a7d95a.zip
gdb-29ca8dc5bbf7312b8f264e5ad5efee8db6a7d95a.tar.gz
gdb-29ca8dc5bbf7312b8f264e5ad5efee8db6a7d95a.tar.bz2
bfd/Changelog:
* libbfd-in.h (_bfd_link_section_stabs): Add string offset parameter. * cofflink.c (coff_link_add_symbols): Deal with split stab sections. * elflink.h (elf_link_add_object_symbols): Deal with split stab sections. * stabs.c (_bfd_link_section_stabs): Add string offset parameter. * libbfd.h: Regenerated. ld/ChangeLog: * ldwrite.c (unsplittable_name): New. (clone_section): Strip existing numeric suffix. Only truncate names for coff targets. (split_sections): Use unsplittable_name. binutils/ChangeLog: * objdump.c (read_section_stabs): Just read one section, return pointer to it. Add size parameter. (print_section_stabs): Add string offset parameter. Adjust. (struct stab_section_names): Add string offset member. (find_stabs_sections): Correct check for split section suffix, adjust read_section_stabs and print_section_stabs calls. (dump_stabs_section): Clear string_offset, free string table.
Diffstat (limited to 'bfd/libbfd.h')
-rw-r--r--bfd/libbfd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/libbfd.h b/bfd/libbfd.h
index a428c66..f8f820e 100644
--- a/bfd/libbfd.h
+++ b/bfd/libbfd.h
@@ -495,7 +495,7 @@ extern bfd_reloc_status_type _bfd_relocate_contents
/* Link stabs in sections in the first pass. */
extern bfd_boolean _bfd_link_section_stabs
- (bfd *, void **, asection *, asection *, void **);
+ (bfd *, void **, asection *, asection *, void **, bfd_size_type *);
/* Eliminate stabs for discarded functions and symbols. */
extern bfd_boolean _bfd_discard_section_stabs