lkml.org 
[lkml]   [2006]   [May]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 6/6] reliable stack trace support (i386 entry.S annotations)
    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.

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2006-05-26 09:03    [W:2.439 / U:0.280 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site