From 47dcc89457137caea648147d9578d75781bea750 Mon Sep 17 00:00:00 2001 From: Konstantin Belousov Date: Wed, 10 Mar 2010 23:51:59 +0200 Subject: [PATCH] Remove unneeded braces --- src/x86/getcontext.S | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/src/x86/getcontext.S b/src/x86/getcontext.S index 7dfa2c01..8a1ba3bf 100644 --- a/src/x86/getcontext.S +++ b/src/x86/getcontext.S @@ -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)