From: Andi Kleen <ak@suse.de>
To: Daniel Jacobowitz <drow@false.org>
Cc: Andreas Jaeger <aj@suse.de>,
Mark Kettenis <mark.kettenis@xs4all.nl>,
gdb@sourceware.org, libc-alpha@sourceware.org
Subject: Re: Notes on a frame_unwind_address_in_block problem
Date: Thu, 03 Aug 2006 03:29:00 -0000 [thread overview]
Message-ID: <200608030529.13642.ak@suse.de> (raw)
In-Reply-To: <20060803032136.GA7647@nevyn.them.org>
On Thursday 03 August 2006 05:21, Daniel Jacobowitz wrote:
> On Thu, Aug 03, 2006 at 05:11:46AM +0200, Andi Kleen wrote:
> > On Thursday 03 August 2006 04:48, Daniel Jacobowitz wrote:
> >
> > > Basically, right now x86_64 signal delivery always uses SA_RESTORER.
> >
> > It will always. The kernel errors out if SA_RESTORER is not set.
>
> I figured you'd do what i386 did - if SA_RESTORER isn't set, use a
> trampoline in the vDSO.
No, it will printk and SIGSEGV in this case. When x86-64 was done
a whole lot of old signal stuff was dropped as legacy.
> > > Fortunately I don't have to worry about this. The vsyscall pages
> > > aren't on the signal path
> >
> > The signal trampolines are in the vsyscall pages.
> >
> > x86-64 doesn't actually have a gate page like i386.
>
> I'm confused now. x86-64 doesn't have signal trmapolines in its
> vsyscall pages, unless they've been added in the last week or two.
> The only vsyscalls on x86-64 are vgettimeofday and vtime, in the
> git pull I've got here.
Yes, sorry for the confusion - you're right the vstubs only exist
for compat. I nearly added them at some point, but didn't because
there was really no advantage of keeping them in glibc.
With a vDSO this will be different.
> There was a third problem other than the two I mentioned above but
> I'm afraid I can't remember what it was now. I'd have to try it again.
> I did work around both the uleb128 and sleb128 problems, and there's
> actually a signal frame marker in sufficiently recent gas, but I
> ran into another problem that made me give up.
Which parts exactly of the signal frame does gas have trouble with?
-Andi
next prev parent reply other threads:[~2006-08-03 3:29 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-06 22:22 Daniel Jacobowitz
2006-07-13 20:20 ` Mark Kettenis
2006-07-17 7:30 ` Andreas Jaeger
2006-07-17 13:15 ` Mark Kettenis
2006-07-17 13:20 ` Daniel Jacobowitz
2006-07-18 9:48 ` Andreas Jaeger
2006-07-18 18:39 ` Daniel Jacobowitz
2006-08-03 2:04 ` Daniel Jacobowitz
2006-08-03 2:38 ` Andi Kleen
2006-08-03 2:48 ` Daniel Jacobowitz
2006-08-03 3:12 ` Andi Kleen
2006-08-03 3:21 ` Daniel Jacobowitz
2006-08-03 3:29 ` Andi Kleen [this message]
2006-08-03 13:27 ` Daniel Jacobowitz
2006-08-18 15:08 ` Andreas Jaeger
2006-08-18 15:15 ` Daniel Jacobowitz
2006-08-21 8:50 ` Andreas Jaeger
2006-08-21 14:19 ` Ulrich Drepper
2006-08-21 14:52 ` Daniel Jacobowitz
2006-07-18 18:50 ` Daniel Jacobowitz
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=200608030529.13642.ak@suse.de \
--to=ak@suse.de \
--cc=aj@suse.de \
--cc=drow@false.org \
--cc=gdb@sourceware.org \
--cc=libc-alpha@sourceware.org \
--cc=mark.kettenis@xs4all.nl \
/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