aboutsummaryrefslogtreecommitdiff
path: root/bfd/libbfd.h
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1991-05-09 23:48:26 +0000
committerJohn Gilmore <gnu@cygnus>1991-05-09 23:48:26 +0000
commit2203f786c8976ce32d97fda1610b598b41c7d38e (patch)
treea07351321bd4a3e3d8c2514945e3a0e5d0c250e6 /bfd/libbfd.h
parent7564d3d74a92d82d8e03b556eb9842b860e1db7e (diff)
downloadgdb-2203f786c8976ce32d97fda1610b598b41c7d38e.zip
gdb-2203f786c8976ce32d97fda1610b598b41c7d38e.tar.gz
gdb-2203f786c8976ce32d97fda1610b598b41c7d38e.tar.bz2
Add bfd_generic_get_section_contents.
Diffstat (limited to 'bfd/libbfd.h')
-rw-r--r--bfd/libbfd.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/bfd/libbfd.h b/bfd/libbfd.h
index ad75ac2..19589c8 100644
--- a/bfd/libbfd.h
+++ b/bfd/libbfd.h
@@ -125,10 +125,14 @@ PROTO (boolean, bsd_write_armap, (bfd *arch, unsigned int elength,
PROTO (boolean, coff_write_armap, (bfd *arch, unsigned int elength,
struct orl *map, int orl_count, int stridx));
-PROTO ( bfd *,bfd_generic_openr_next_archived_file, (bfd *archive, bfd *last_file));
+PROTO (bfd *, bfd_generic_openr_next_archived_file, (bfd *archive,
+ bfd *last_file));
PROTO(int, bfd_generic_stat_arch_elt, (bfd *, struct stat *));
+PROTO(boolean, bfd_generic_get_section_contents,
+ (bfd *abfd, sec_ptr section, PTR location, file_ptr offset, int count));
+
/* Macros to tell if bfds are read or write enabled.
Note that bfds open for read may be scribbled into if the fd passed