diff options
author | Jan Beulich <JBeulich@novell.com> | 2010-09-02 14:07:16 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2010-09-03 08:14:11 +0200 |
commit | df5d1874ce1a1f0e0eceff4fa3a9d45620243a68 (patch) | |
tree | 0537808418ae9d181fa4a569b3573b1ac59e83c0 /arch/x86/include/asm/dwarf2.h | |
parent | a34107b5577968dc53cf9c2195c7c2d4a2caf9ce (diff) | |
download | blackbird-obmc-linux-df5d1874ce1a1f0e0eceff4fa3a9d45620243a68.tar.gz blackbird-obmc-linux-df5d1874ce1a1f0e0eceff4fa3a9d45620243a68.zip |
x86: Use {push,pop}{l,q}_cfi in more places
... plus additionally introduce {push,pop}f{l,q}_cfi. All in the
hope that the code becomes better readable this way (it gets
quite a bit smaller in any case).
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Acked-by: Alexander van Heukelum <heukelum@fastmail.fm>
LKML-Reference: <4C7FBDA40200007800013FAF@vpn.id2.novell.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/include/asm/dwarf2.h')
-rw-r--r-- | arch/x86/include/asm/dwarf2.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/x86/include/asm/dwarf2.h b/arch/x86/include/asm/dwarf2.h index 733f7e91e7a9..326099199318 100644 --- a/arch/x86/include/asm/dwarf2.h +++ b/arch/x86/include/asm/dwarf2.h @@ -89,6 +89,16 @@ CFI_ADJUST_CFA_OFFSET -8 .endm + .macro pushfq_cfi + pushfq + CFI_ADJUST_CFA_OFFSET 8 + .endm + + .macro popfq_cfi + popfq + CFI_ADJUST_CFA_OFFSET -8 + .endm + .macro movq_cfi reg offset=0 movq %\reg, \offset(%rsp) CFI_REL_OFFSET \reg, \offset @@ -109,6 +119,16 @@ CFI_ADJUST_CFA_OFFSET -4 .endm + .macro pushfl_cfi + pushfl + CFI_ADJUST_CFA_OFFSET 4 + .endm + + .macro popfl_cfi + popfl + CFI_ADJUST_CFA_OFFSET -4 + .endm + .macro movl_cfi reg offset=0 movl %\reg, \offset(%esp) CFI_REL_OFFSET \reg, \offset |