diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2009-07-10 18:38:27 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2009-07-10 18:38:27 +0000 |
commit | f07749bbae83adb37c54f7c6079c1999af292724 (patch) | |
tree | 3ae3d9165759a1b29a1a4704c07ac32d0fade27b /bfd/bfd-in2.h | |
parent | 8455dd2cf7dfd96cadcaf0a220d5acac42a0e46a (diff) | |
download | gdb-f07749bbae83adb37c54f7c6079c1999af292724.zip gdb-f07749bbae83adb37c54f7c6079c1999af292724.tar.gz gdb-f07749bbae83adb37c54f7c6079c1999af292724.tar.bz2 |
2009-07-10 H.J. Lu <hongjiu.lu@intel.com>
* bfdio.c (bfd_iovec): Add comments for bmmap.
* bfd-in2.h: Regenerated.
Diffstat (limited to 'bfd/bfd-in2.h')
-rw-r--r-- | bfd/bfd-in2.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h index 9b98f8c..5244b9a 100644 --- a/bfd/bfd-in2.h +++ b/bfd/bfd-in2.h @@ -463,7 +463,6 @@ 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__ @@ -1123,6 +1122,9 @@ long bfd_get_mtime (bfd *abfd); file_ptr bfd_get_size (bfd *abfd); +void *bfd_mmap (bfd *abfd, void *addr, bfd_size_type len, + int prot, int flags, file_ptr offset); + /* Extracted from bfdwin.c. */ /* Extracted from section.c. */ typedef struct bfd_section |