aboutsummaryrefslogtreecommitdiff
path: root/bfd/bfd-in2.h
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2005-06-07 22:53:32 +0000
committerMark Mitchell <mark@codesourcery.com>2005-06-07 22:53:32 +0000
commit2d0123b7851267f634ef63c15c43172e2136bc78 (patch)
tree842bbc2f0305c50b4e004cce1f461713e8720208 /bfd/bfd-in2.h
parent4a5329c63abbeb362968edcc3cb6df0ca754e1ee (diff)
downloadgdb-2d0123b7851267f634ef63c15c43172e2136bc78.zip
gdb-2d0123b7851267f634ef63c15c43172e2136bc78.tar.gz
gdb-2d0123b7851267f634ef63c15c43172e2136bc78.tar.bz2
* opncls.c (bfd_fopen): New API.
(bfd_openr): Use it. (bfd_fdopenr): Likewise. * bfd-in2.h: Regenerated.
Diffstat (limited to 'bfd/bfd-in2.h')
-rw-r--r--bfd/bfd-in2.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h
index ec19440..739277c 100644
--- a/bfd/bfd-in2.h
+++ b/bfd/bfd-in2.h
@@ -893,6 +893,9 @@ extern struct coff_comdat_info *bfd_coff_get_comdat_section
void bfd_init (void);
/* Extracted from opncls.c. */
+bfd *bfd_fopen (const char *filename, const char *target,
+ const char *mode, int fd);
+
bfd *bfd_openr (const char *filename, const char *target);
bfd *bfd_fdopenr (const char *filename, const char *target, int fd);