[PATCH 2/2] elf: Use nocancel pread64() instead of lseek()+read()
Andreas Schwab
schwab@linux-m68k.org
Thu Oct 3 17:59:00 GMT 2019
On Okt 03 2019, Yann Droneaud <ydroneaud@opteya.com> wrote:
> Anyway I'm quite surprised ld.so is reading twice 68 bytes at the same
> 792 offset. Moreover, the first read already brought 28 bytes out of
> 68.
That only happens if you have a note segment that does not fit in the
initial file buffer. That is rather unusual.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."
More information about the Libc-alpha
mailing list