This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How to get file descriptor from abfd?


Paul Pluzhnikov wrote:

> Index: bfdio.c
> ===================================================================

> +.  void* (*bmmap) (struct bfd *abfd, void *addr, bfd_size_type len,
> +.                  int prot, int flags, file_ptr offset);

  That should probably be void-space-star-bracket, to match:

> +  /* Just like mmap: (void*)-1 on failure, mmapped address on success.  */
> +  void *(*bmmap) (struct bfd *abfd, void *addr, bfd_size_type len,

... but it's not important enough to fix now and can be left for whoever's
working in that area next.

    cheers,
      DaveK


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]