diff options
author | Paul Pluzhnikov <ppluzhnikov@google.com> | 2009-06-11 00:41:03 +0000 |
---|---|---|
committer | Paul Pluzhnikov <ppluzhnikov@google.com> | 2009-06-11 00:41:03 +0000 |
commit | 25b88f335af1b8c7a4428710ffd9066338b167c0 (patch) | |
tree | fd707bda1bcc8d4d609622b5da49451b5c2e3303 /bfd/bfd-in2.h | |
parent | e433f867b0ffb2181886a9c2b3281ad5931ef31b (diff) | |
download | gdb-25b88f335af1b8c7a4428710ffd9066338b167c0.zip gdb-25b88f335af1b8c7a4428710ffd9066338b167c0.tar.gz gdb-25b88f335af1b8c7a4428710ffd9066338b167c0.tar.bz2 |
2009-06-10 Paul Pluzhnikov <ppluzhnikov@google.com>
* bfd-in2.h: bfd_mmap prototype
* bfdio.c (bfd_mmap): New function.
* libbfd.h (bfd_iovec): Add bmmap.
* cache.c (cache_bmap): New function.
(cache_iovec): Initialize bmmap member.
* opencls.c (opncls_bmmap): New function.
(opncls_iovec): Initialize bmmap member.
Diffstat (limited to 'bfd/bfd-in2.h')
-rw-r--r-- | bfd/bfd-in2.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h index 004affe..6583aa6 100644 --- a/bfd/bfd-in2.h +++ b/bfd/bfd-in2.h @@ -463,6 +463,7 @@ extern int bfd_seek (bfd *, file_ptr, int); extern file_ptr bfd_tell (bfd *); extern int bfd_flush (bfd *); extern int bfd_stat (bfd *, struct stat *); +extern void *bfd_mmap (bfd *, void *, bfd_size_type, int, int, file_ptr); /* Deprecated old routines. */ #if __GNUC__ |