vdso handling
Hans-Peter Nilsson
hp@bitrange.com
Wed Apr 2 08:04:00 GMT 2014
On Fri, 28 Mar 2014, Alan Modra wrote:
>
> bfd_from_remote_memory should take note of p_memsz.. Hmm, and there
> are quite a few other issues there too, most notably that p_align
> on x86_64 these days tends to be *much* larger than the page size used
> by ld.so.
>
> Gah, I've been sucked into looking at this long enough that I may as
> well fix it. Does this look OK?
The new size parameter uses size_t in bfd headers, breaking some
simulators like cris-elf, frv-elf, h8300-elf, iq2000-elf,
m32r-elf, mips-elf, mn10300-elf.
The obvious change is to instead use bfd_size_type, like
everything else in BFD headers. Any reason not to do that here?
> * elfcode.h (bfd_from_remote_memory): Add "size" parameter.
brgds, H-P
More information about the Gdb-patches
mailing list