mirror of git://gcc.gnu.org/git/gcc.git
* config/x86/target.h (GTM_longjmp): Correct the .cfi corrections.
From-SVN: r184227
This commit is contained in:
parent
a85ce59dda
commit
72824d5e40
|
@ -1,3 +1,7 @@
|
||||||
|
2012-02-14 Richard Henderson <rth@redhat.com>
|
||||||
|
|
||||||
|
* config/x86/target.h (GTM_longjmp): Correct the .cfi corrections.
|
||||||
|
|
||||||
2012-02-14 Uros Bizjak <ubizjak@gmail.com>
|
2012-02-14 Uros Bizjak <ubizjak@gmail.com>
|
||||||
|
|
||||||
* config/x86/target.h (GTM_longjmp): Correct .cfi directives.
|
* config/x86/target.h (GTM_longjmp): Correct .cfi directives.
|
||||||
|
|
|
@ -112,7 +112,6 @@ SYM(_ITM_beginTransaction):
|
||||||
SYM(GTM_longjmp):
|
SYM(GTM_longjmp):
|
||||||
cfi_startproc
|
cfi_startproc
|
||||||
#ifdef __x86_64__
|
#ifdef __x86_64__
|
||||||
cfi_def_cfa(%rsi, 0)
|
|
||||||
movq (%rsi), %rcx
|
movq (%rsi), %rcx
|
||||||
movq 8(%rsi), %rbx
|
movq 8(%rsi), %rbx
|
||||||
movq 16(%rsi), %rbp
|
movq 16(%rsi), %rbp
|
||||||
|
@ -120,21 +119,22 @@ SYM(GTM_longjmp):
|
||||||
movq 32(%rsi), %r13
|
movq 32(%rsi), %r13
|
||||||
movq 40(%rsi), %r14
|
movq 40(%rsi), %r14
|
||||||
movq 48(%rsi), %r15
|
movq 48(%rsi), %r15
|
||||||
cfi_offset(%rip, 56)
|
|
||||||
movl %edi, %eax
|
movl %edi, %eax
|
||||||
movq %rcx, %rsp
|
cfi_def_cfa(%rsi, 0)
|
||||||
|
cfi_offset(%rip, 56)
|
||||||
cfi_register(%rsp, %rcx)
|
cfi_register(%rsp, %rcx)
|
||||||
|
movq %rcx, %rsp
|
||||||
jmp *56(%rsi)
|
jmp *56(%rsi)
|
||||||
#else
|
#else
|
||||||
cfi_def_cfa(%edx, 0)
|
|
||||||
movl (%edx), %ecx
|
movl (%edx), %ecx
|
||||||
movl 4(%edx), %ebx
|
movl 4(%edx), %ebx
|
||||||
movl 8(%edx), %esi
|
movl 8(%edx), %esi
|
||||||
movl 12(%edx), %edi
|
movl 12(%edx), %edi
|
||||||
movl 16(%edx), %ebp
|
movl 16(%edx), %ebp
|
||||||
|
cfi_def_cfa(%edx, 0)
|
||||||
cfi_offset(%eip, 20)
|
cfi_offset(%eip, 20)
|
||||||
movl %ecx, %esp
|
|
||||||
cfi_register(%esp, %ecx)
|
cfi_register(%esp, %ecx)
|
||||||
|
movl %ecx, %esp
|
||||||
jmp *20(%edx)
|
jmp *20(%edx)
|
||||||
#endif
|
#endif
|
||||||
cfi_endproc
|
cfi_endproc
|
||||||
|
|
Loading…
Reference in New Issue