[patch#2] bfd: Use size_t for length argument totarget_read_memory function passed into bfd_elf_bfd_from_remote_memory
Jan Kratochvil
jan.kratochvil@redhat.com
Mon Jun 4 05:25:00 GMT 2012
On Mon, 04 Jun 2012 07:10:18 +0200, Hans-Peter Nilsson wrote:
> > From: Jan Kratochvil <jan.kratochvil@redhat.com>
> > Date: Fri, 1 Jun 2012 23:05:30 +0200
>
> > bfd/
> > 2012-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
> >
> > * bfd-in.h (bfd_elf_bfd_from_remote_memory): Make LEN argument
> > of target_read_memory as bfd_size_type.
> > * bfd-in2.h: Regenerate.
> > * elf-bfd.h (elf_backend_bfd_from_remote_memory): Make LEN
> > argument of target_read_memory as size_t.
> (..."as bfd_size_type.")
>
> > (_bfd_elf32_bfd_from_remote_memory): Likewise.
> > (_bfd_elf64_bfd_from_remote_memory): Likewise.
> > * elf.c (bfd_elf_bfd_from_remote_memory): Likewise.
> > * elfcode.h (NAME(_bfd_elf,bfd_from_remote_memory)): Likewise.
> >
> > gdb/
> > 2012-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
> >
> > * symfile-mem.c: 3 new gdb_static_assert for target_read_memory_bfd
> > parameters.
> > (target_read_memory_bfd): New function.
> > (symbol_file_add_from_memory): Use it.
>
> If this is ready to commit and you don't have the time today,
> just say the word.
I believe I need bfd/ approval by Alan or other bfd/ maintainer.
Thanks,
Jan
More information about the Binutils
mailing list