[PATCH 6/6] reliable stack trace support (i386 entry.S annotations)

Jan Beulich jbeulich at novell.com
Fri May 26 09:26:17 CEST 2006


>>> Andrew Morton <akpm at osdl.org> 25.05.06 07:23 >>>
>"Jan Beulich" <jbeulich at 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'
>
>
>bix:/usr/src/25> as --version
>GNU assembler 2.14.90.0.6 20030820

Still doesn't make sense to me, assuming the merge didn't corrupt anything. The oldest assembler I'm using is
2.15.90.0.1.1, but as said before your assembler clearly also supports .cfi_*. Any chance I could see the offending
entry.S?

Jan



More information about the discuss mailing list