From: "Mark Kettenis" <mark.kettenis@xs4all.nl>
To: "Andreas Jaeger" <aj@suse.de>
Cc: "Mark Kettenis" <mark.kettenis@xs4all.nl>,
drow@false.org, gdb@sourceware.org,
libc-alpha@sourceware.org
Subject: Re: Notes on a frame_unwind_address_in_block problem
Date: Mon, 17 Jul 2006 13:15:00 -0000 [thread overview]
Message-ID: <8340.192.87.1.22.1153121386.squirrel@webmail.xs4all.nl> (raw)
In-Reply-To: <ho4pxg4sm3.fsf@reger.suse.de>
> Mark Kettenis <mark.kettenis@xs4all.nl> writes:
>
> > [...]
> > Looking at sysdeps/unix/sysv/linux/x86_64/sigaction.c in the glibc
> > sources:
> >
> > asm \
> > ( \
> > ".align 16\n" \
> > CFI_STARTPROC "\n" \
> > "__" #name ":\n" \
> > " movq $" #syscall ", %rax\n" \
> > " syscall\n" \
> > CFI_ENDPROC "\n" \
> > );
> >
> > Someone should either add the proper unwind info or remove the unwind
> > info altogether.
>
> What do you suggest to add here?
Something like what's done in the kernel (arch/x86_64/kernel/vsyscall.S).
Hmm, I wonder why Daniel's box uses the trampoline from libc instead of
the trampoline in the vsyscall page. Looking a bit closer, it seems my
amd64 machine here at work has the same issue (SuSE 9.2 with a 2.6.8-24.20
kernel and glibc 2.3.3). Is it just my glibc that's out of date, or is
something busted?
Anyway, if with the current libc, the trampoline provided by the kernel is
supposed to be used, then it's probably not worth bothering to add CFI
to libc, and I'd just remove the CFI_STARTPROC and CFI_ENDPROC statements.
Mark
next prev parent reply other threads:[~2006-07-17 7:30 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 [this message]
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
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=8340.192.87.1.22.1153121386.squirrel@webmail.xs4all.nl \
--to=mark.kettenis@xs4all.nl \
--cc=aj@suse.de \
--cc=drow@false.org \
--cc=gdb@sourceware.org \
--cc=libc-alpha@sourceware.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