aboutsummaryrefslogtreecommitdiff
path: root/bfd/libbfd.h
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2005-11-03 16:06:11 +0000
committerDaniel Jacobowitz <drow@false.org>2005-11-03 16:06:11 +0000
commit2e6f4fae0724d2926e46be477cd12c772d7e79d9 (patch)
tree91e79b112cb26de09486cf4ece65091202b81d4e /bfd/libbfd.h
parent6f2942edf01d584dcc76b960a50de9f67f13e7c3 (diff)
downloadgdb-2e6f4fae0724d2926e46be477cd12c772d7e79d9.zip
gdb-2e6f4fae0724d2926e46be477cd12c772d7e79d9.tar.gz
gdb-2e6f4fae0724d2926e46be477cd12c772d7e79d9.tar.bz2
* configure.in: Check for fopen64.
* libbfd-in.h (real_fopen): New prototype. * configure, config.in, libbfd.h: Regenerated. * bfdio.c (real_fopen): New function. * opncls.c (bfd_fopen, bfd_fill_in_gnu_debuglink_section): Use it. * cache.c (bfd_open_file): Likewise.
Diffstat (limited to 'bfd/libbfd.h')
-rw-r--r--bfd/libbfd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/bfd/libbfd.h b/bfd/libbfd.h
index ff1fde7..1fc5416 100644
--- a/bfd/libbfd.h
+++ b/bfd/libbfd.h
@@ -656,6 +656,7 @@ extern void _bfd_abort
the system "off_t" or "off64_t", as the offset. */
extern file_ptr real_ftell (FILE *file);
extern int real_fseek (FILE *file, file_ptr offset, int whence);
+extern FILE *real_fopen (const char *filename, const char *modes);
/* List of supported target vectors, and the default vector (if
bfd_default_vector[0] is NULL, there is no default). */