From: Andreas Schwab <schwab@linux-m68k.org>
To: Yann Droneaud <ydroneaud@opteya.com>
Cc: "libc-alpha\@sourceware.org" <libc-alpha@sourceware.org>,
Leandro Pereira <Leandro.Pereira@microsoft.com>
Subject: Re: [PATCH 2/2] elf: Use nocancel pread64() instead of lseek()+read()
Date: Thu, 03 Oct 2019 17:59:00 -0000 [thread overview]
Message-ID: <87imp5r9pr.fsf@igel.home> (raw)
In-Reply-To: <ef6eb5407fef7246cf8bc2627c0541ca8d86f94e.camel@opteya.com> (Yann Droneaud's message of "Thu, 03 Oct 2019 17:31:12 +0200")
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."
next prev parent reply other threads:[~2019-10-03 17:59 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-05 21:56 Leandro Pereira
2019-10-03 13:59 ` Carlos O'Donell
2019-10-18 20:02 ` Carlos O'Donell
2019-10-20 21:37 ` Lukasz Majewski
2019-10-21 13:24 ` Carlos O'Donell
2019-10-24 12:08 ` Florian Weimer
2019-10-24 13:32 ` Carlos O'Donell
2019-10-24 13:46 ` Florian Weimer
2019-10-03 15:31 ` Yann Droneaud
2019-10-03 17:10 ` Carlos O'Donell
2019-10-03 17:59 ` Andreas Schwab [this message]
2019-10-03 19:04 ` Yann Droneaud
2019-10-03 19:16 ` Andreas Schwab
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87imp5r9pr.fsf@igel.home \
--to=schwab@linux-m68k.org \
--cc=Leandro.Pereira@microsoft.com \
--cc=libc-alpha@sourceware.org \
--cc=ydroneaud@opteya.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).