From: "Jan Beulich" <jbeulich@novell.com>
To: "Andrew Morton" <akpm@osdl.org>
Cc: <mingo@elte.hu>, "Andreas Kleen" <ak@suse.de>,
<linux-kernel@vger.kernel.org>, <discuss@x86-64.org>
Subject: Re: [PATCH 6/6] reliable stack trace support (i386 entry.S annotations)
Date: Fri, 26 May 2006 09:00:33 +0200 [thread overview]
Message-ID: <4476C3B1.76E4.0078.0@novell.com> (raw)
In-Reply-To: <20060524224159.6a049775.akpm@osdl.org>
Sure - it doesn't use the assembler's .cfi_* directives, but encodes things manually. I'll still have to check why
you're getting these errors, as you should see entirely different ones if the assembler didn't support the directives at
all. Jan
>>> Andrew Morton <akpm@osdl.org> 25.05.06 07:41 >>>
Andrew Morton <akpm@osdl.org> wrote:
>
> "Jan Beulich" <jbeulich@novell.com> wrote:
> >
> > #define SAVE_ALL \
> > cld; \
> > pushl %es; \
> > + CFI_ADJUST_CFA_OFFSET 4;\
> > + /*CFI_REL_OFFSET es, 0;*/\
> > pushl %ds; \
>
> arch/i386/kernel/entry.S: Assembler messages:
> arch/i386/kernel/entry.S:757: Error: CFI instruction used without previous .cfi_startproc
> arch/i386/kernel/entry.S:757: Warning: rest of line ignored; first ignored character is `4'
> arch/i386/kernel/entry.S:757: Error: CFI instruction used without previous .cfi_startproc
> arch/i386/kernel/entry.S:757: Warning: rest of line ignored; first ignored character is `4'
> arch/i386/kernel/entry.S:757: Error: CFI instruction used without previous .cfi_startproc
> arch/i386/kernel/entry.S:757: Warning: rest of line ignored; first ignored character is `4'
> arch/i386/kernel/entry.S:757: Error: CFI instruction used without previous .cfi_startproc
>
> etcetera. And
>
> arch/i386/kernel/entry.S:757: Error: no such instruction: `eax,0'
> arch/i386/kernel/entry.S:757: Error: no such instruction: `ebp,0'
>
btw, this cfi annotation code:
ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.17-rc4/2.6.17-rc4-mm3/broken-out/kgdb-cfi_annotations.patch
compiles happily with that toolchain.
next prev parent reply other threads:[~2006-05-26 6:59 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-22 13:19 Jan Beulich
2006-05-25 5:23 ` Andrew Morton
2006-05-25 5:41 ` Andrew Morton
2006-05-26 7:00 ` Jan Beulich [this message]
2006-05-26 7:18 ` Andi Kleen
2006-05-26 15:43 ` Andrew Morton
2006-05-26 16:05 ` Andrew Morton
2006-05-26 7:26 ` Jan Beulich
2006-05-26 15:28 ` Andrew Morton
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=4476C3B1.76E4.0078.0@novell.com \
--to=jbeulich@novell.com \
--cc=ak@suse.de \
--cc=akpm@osdl.org \
--cc=discuss@x86-64.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
/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
Powered by JetHome