[PATCH] bfd: Use size_t for length argument totarget_read_memory function passed into bfd_elf_bfd_from_remote_memory
Siddhesh Poyarekar
siddhesh@redhat.com
Mon May 28 11:11:00 GMT 2012
On Mon, 28 May 2012 20:33:13 +0930, Alan wrote:
> On Mon, May 28, 2012 at 02:35:20PM +0530, Siddhesh Poyarekar wrote:
> > 2012-05-28 Siddhesh Poyarekar <siddhesh@redhat.com>
> >
> > * bfd-in.h (bfd_elf_bfd_from_remote_memory): Make LEN
> > argument of target_read_memory as size_t.
> > * bfd-in2.h: Regenerate.
> > * elf-bfd.h (elf_backend_bfd_from_remote_memory): Make LEN
> > argument of target_read_memory as size_t.
> > (_bfd_elf32_bfd_from_remote_memory): Likewise.
> > (_bfd_elf64_bfd_from_remote_memory): Likewise.
> > * elf.c (bfd_elf_bfd_from_remote_memory): Likewise.
> > * enfcode.h (NAME): Likewise.
>
> Since Jan has already given the OK, and these functions are only used
> by gdb, binutils maintainers hardly need to look at the patch. OK
> anyway, but please fix the ChangeLog
>
> * elfcode.h (NAME(_bfd_elf,bfd_from_remote_memory)): Likewise.
>
Thanks, fixed ChangeLog for bfd below as per your suggestion.
Regards,
Siddhesh
2012-05-28 Siddhesh Poyarekar <siddhesh@redhat.com>
* bfd-in.h (bfd_elf_bfd_from_remote_memory): Make LEN argument
of target_read_memory as size_t.
* bfd-in2.h: Regenerate.
* elf-bfd.h (elf_backend_bfd_from_remote_memory): Make LEN
argument of target_read_memory as size_t.
(_bfd_elf32_bfd_from_remote_memory): Likewise.
(_bfd_elf64_bfd_from_remote_memory): Likewise.
* elf.c (bfd_elf_bfd_from_remote_memory): Likewise.
* enfcode.h (NAME(_bfd_elf,bfd_from_remote_memory)): Likewise.
More information about the Binutils
mailing list