From: Jakub Jelinek <jakub@redhat.com>
To: Benjamin Herrenschmidt <benh@au1.ibm.com>
Cc: Deepak Bhole <dbhole@redhat.com>,
linuxppc-dev list <linuxppc-dev@ozlabs.org>,
Andrew Haley <aph-gcc@littlepinkcloud.COM>,
Paul Mackerras <paulus@samba.org>,
Alan Modra <amodra@bigpond.net.au>
Subject: Re: [PATCH] powerpc: Fix 64 bits vDSO dwarf info for CR register
Date: Wed, 17 Oct 2007 09:50:55 -0400 [thread overview]
Message-ID: <20071017135055.GP5451@devserv.devel.redhat.com> (raw)
In-Reply-To: <1192595210.11899.149.camel@pasglop>
On Wed, Oct 17, 2007 at 02:26:50PM +1000, Benjamin Herrenschmidt wrote:
> Unfortunately, a bug in gcc cause it to not quite work either, but that
> is being fixed separately with something around the lines of:
>
> linux-unwind.h:
>
> fs->regs.reg[R_CR2].loc.offset = (long) ®s->ccr - new_cfa;
> + /* CR? regs are just 32-bit and PPC is big-endian. */
> + fs->regs.reg[R_CR2].loc.offset += sizeof (long) - 4;
Small correction. If vdso is present, then fixing the vdso is all that is
needed, the above mentioned code is used only if the vdso is not present
(or if glibc doesn't support the vdso).
Jakub
next prev parent reply other threads:[~2007-10-17 13:51 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-17 4:26 [PATCH] powerpc: Fix 64 bits vDSO dwarf info for CR register Benjamin Herrenschmidt
2007-10-17 13:50 ` Jakub Jelinek [this message]
2007-10-17 14:00 ` Andrew Haley
-- strict thread matches above, loose matches on Subject: below --
2007-10-17 4:23 Benjamin Herrenschmidt
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=20071017135055.GP5451@devserv.devel.redhat.com \
--to=jakub@redhat.com \
--cc=amodra@bigpond.net.au \
--cc=aph-gcc@littlepinkcloud.COM \
--cc=benh@au1.ibm.com \
--cc=dbhole@redhat.com \
--cc=linuxppc-dev@ozlabs.org \
--cc=paulus@samba.org \
/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 NNTP newsgroup(s).