From: Alan Modra <amodra@gmail.com>
To: Pedro Alves <palves@redhat.com>
Cc: "Metzger, Markus T" <markus.t.metzger@intel.com>,
Mark Wielaard <mjw@redhat.com>,
Cary Coutant <ccoutant@google.com>, Doug Evans <dje@google.com>,
gdb-patches@sourceware.org, binutils@sourceware.org
Subject: Re: vdso handling
Date: Wed, 02 Apr 2014 01:50:00 -0000 [thread overview]
Message-ID: <20140402014959.GZ18201@bubble.grove.modra.org> (raw)
In-Reply-To: <533AC33E.8030700@redhat.com>
On Tue, Apr 01, 2014 at 02:46:38PM +0100, Pedro Alves wrote:
> On 03/28/2014 11:00 PM, Alan Modra wrote:
>
> > I believe the intent of rounding to a page was to pick up the file
> > and program headers at the start of a file and section headers at the
> > end, so let's do just that. On top of my last patch:
>
> Agreed. This works for me. Thanks!
>
> > - if (i_phdrs[i].p_align > 1)
> > + /* Extend the beginning of the first pt_load to cover file
> > + header and program headers. */
> > + if (first_phdr == &i_phdrs[i])
>
> Minor nit: Perhaps the comment could say "first pt_load
> if it covers offset 0"?
Fixed.
/* Extend the beginning of the first pt_load to cover file
header and program headers, if we proved earlier that its
aligned offset is 0. */
> Please don't use ATTRIBUTE_UNUSED under gdb/, it'd be flagged by the
> ARI as a regression:
Hmm, OK. Fixed and pushed.
--
Alan Modra
Australia Development Lab, IBM
next prev parent reply other threads:[~2014-04-02 1:50 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20140313130322.GA3384@bubble.grove.modra.org>
[not found] ` <5321C7C8.6000707@redhat.com>
[not found] ` <5321C8FA.40708@gmail.com>
[not found] ` <5321CE1A.20509@redhat.com>
[not found] ` <20140313235347.GD3384@bubble.grove.modra.org>
[not found] ` <A78C989F6D9628469189715575E55B230AAB6B17@IRSMSX103.ger.corp.intel.com>
[not found] ` <20140318230939.GA9145@bubble.grove.modra.org>
[not found] ` <5329879C.6070805@redhat.com>
[not found] ` <20140320013305.GA13347@bubble.grove.modra.org>
[not found] ` <532C5F60.80700@redhat.com>
2014-03-28 6:13 ` Alan Modra
2014-03-28 13:38 ` Pedro Alves
2014-03-28 23:00 ` Alan Modra
2014-04-01 13:46 ` Pedro Alves
2014-04-02 1:50 ` Alan Modra [this message]
2014-04-02 8:05 ` Metzger, Markus T
2014-04-02 8:04 ` Hans-Peter Nilsson
2014-04-03 1:06 ` Alan Modra
2014-04-03 1:46 ` Alan Modra
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=20140402014959.GZ18201@bubble.grove.modra.org \
--to=amodra@gmail.com \
--cc=binutils@sourceware.org \
--cc=ccoutant@google.com \
--cc=dje@google.com \
--cc=gdb-patches@sourceware.org \
--cc=markus.t.metzger@intel.com \
--cc=mjw@redhat.com \
--cc=palves@redhat.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