mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-11-10 19:08:21 +01:00
Remove unneeded braces
This commit is contained in:
parent
3b026a7ed8
commit
47dcc89457
1 changed files with 16 additions and 16 deletions
|
@ -66,37 +66,37 @@ _Ux86_getcontext:
|
|||
fldenv (%ecx)
|
||||
#elif defined __FreeBSD__
|
||||
/* EAX is not preserved. */
|
||||
movl $0, (FREEBSD_UC_MCONTEXT_EAX_OFF)(%eax)
|
||||
movl $0, FREEBSD_UC_MCONTEXT_EAX_OFF(%eax)
|
||||
|
||||
movl %ebx, (FREEBSD_UC_MCONTEXT_EBX_OFF)(%eax)
|
||||
movl %ecx, (FREEBSD_UC_MCONTEXT_ECX_OFF)(%eax)
|
||||
movl %edx, (FREEBSD_UC_MCONTEXT_EDX_OFF)(%eax)
|
||||
movl %edi, (FREEBSD_UC_MCONTEXT_EDI_OFF)(%eax)
|
||||
movl %esi, (FREEBSD_UC_MCONTEXT_ESI_OFF)(%eax)
|
||||
movl %ebp, (FREEBSD_UC_MCONTEXT_EBP_OFF)(%eax)
|
||||
movl %ebx, FREEBSD_UC_MCONTEXT_EBX_OFF(%eax)
|
||||
movl %ecx, FREEBSD_UC_MCONTEXT_ECX_OFF(%eax)
|
||||
movl %edx, FREEBSD_UC_MCONTEXT_EDX_OFF(%eax)
|
||||
movl %edi, FREEBSD_UC_MCONTEXT_EDI_OFF(%eax)
|
||||
movl %esi, FREEBSD_UC_MCONTEXT_ESI_OFF(%eax)
|
||||
movl %ebp, FREEBSD_UC_MCONTEXT_EBP_OFF(%eax)
|
||||
|
||||
movl (%esp), %ecx
|
||||
movl %ecx, (FREEBSD_UC_MCONTEXT_OFF_EIP)(%eax)
|
||||
movl %ecx, FREEBSD_UC_MCONTEXT_OFF_EIP(%eax)
|
||||
|
||||
leal 4(%esp), %ecx /* Exclude the return address. */
|
||||
movl %ecx, (FREEBSD_UC_MCONTEXT_OFF_ESP)(%eax)
|
||||
movl %ecx, FREEBSD_UC_MCONTEXT_OFF_ESP(%eax)
|
||||
|
||||
xorl %ecx, %ecx
|
||||
movw %fs, %cx
|
||||
movl %ecx, (FREEBSD_UC_MCONTEXT_OFF_FS)(%eax)
|
||||
movl %ecx, FREEBSD_UC_MCONTEXT_OFF_FS(%eax)
|
||||
movw %gs, %cx
|
||||
movl %ecx, (FREEBSD_UC_MCONTEXT_OFF_GS)(%eax)
|
||||
movl %ecx, FREEBSD_UC_MCONTEXT_OFF_GS(%eax)
|
||||
movw %ds, %cx
|
||||
movl %ecx, (FREEBSD_UC_MCONTEXT_OFF_DS)(%eax)
|
||||
movl %ecx, FREEBSD_UC_MCONTEXT_OFF_DS(%eax)
|
||||
movw %es, %cx
|
||||
movl %ecx, (FREEBSD_UC_MCONTEXT_OFF_ES)(%eax)
|
||||
movl %ecx, FREEBSD_UC_MCONTEXT_OFF_ES(%eax)
|
||||
movw %ss, %cx
|
||||
movl %ecx, (FREEBSD_UC_MCONTEXT_OFF_SS)(%eax)
|
||||
movl %ecx, FREEBSD_UC_MCONTEXT_OFF_SS(%eax)
|
||||
movw %cs, %cx
|
||||
movl %ecx, (FREEBSD_UC_MCONTEXT_OFF_CS)(%eax)
|
||||
movl %ecx, FREEBSD_UC_MCONTEXT_OFF_CS(%eax)
|
||||
|
||||
pushfl
|
||||
popl (FREEBSD_UC_MCONTEXT_OFF_EFLAGS)(%eax)
|
||||
popl FREEBSD_UC_MCONTEXT_OFF_EFLAGS(%eax)
|
||||
|
||||
movl $FREEBSD_UC_MCONTEXT_FPOWNED_FPU,FREEBSD_UC_MCONTEXT_OWNEDFP(%eax)
|
||||
movl $FREEBSD_UC_MCONTEXT_FPFMT_XMM,FREEBSD_UC_MCONTEXT_FPFORMAT(%eax)
|
||||
|
|
Loading…
Reference in a new issue