Alexandre Julliard : libport: Make cfi annotations optional for x86_64.

Alexandre Julliard julliard at winehq.org
Mon Apr 12 09:54:09 CDT 2010


Module: wine
Branch: master
Commit: 671eb84f9eca0ae7037873c99740eace5125a119
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=671eb84f9eca0ae7037873c99740eace5125a119

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Mon Apr 12 12:37:32 2010 +0200

libport: Make cfi annotations optional for x86_64.

---

 libs/port/interlocked.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/libs/port/interlocked.c b/libs/port/interlocked.c
index b2d4b52..8fb9972 100644
--- a/libs/port/interlocked.c
+++ b/libs/port/interlocked.c
@@ -164,8 +164,8 @@ __ASM_GLOBAL_FUNC(interlocked_xchg_add,
                   "ret")
 __ASM_GLOBAL_FUNC(interlocked_cmpxchg128,
                   "push %rbx\n\t"
-                   ".cfi_adjust_cfa_offset 8\n\t"
-                   ".cfi_rel_offset %rbx,0\n\t"
+                  __ASM_CFI(".cfi_adjust_cfa_offset 8\n\t")
+                  __ASM_CFI(".cfi_rel_offset %rbx,0\n\t")
                   "mov %rcx,%r8\n\t"  /* compare */
                   "mov %rdx,%rbx\n\t" /* xchg_low */
                   "mov %rsi,%rcx\n\t" /* xchg_high */
@@ -176,8 +176,8 @@ __ASM_GLOBAL_FUNC(interlocked_cmpxchg128,
                   "mov %rdx,8(%r8)\n\t"
                   "setz %al\n\t"
                   "pop %rbx\n\t"
-                   ".cfi_adjust_cfa_offset -8\n\t"
-                   ".cfi_same_value %rbx\n\t"
+                  __ASM_CFI(".cfi_adjust_cfa_offset -8\n\t")
+                  __ASM_CFI(".cfi_same_value %rbx\n\t")
                   "ret")
 
 #elif defined(__powerpc__)




More information about the wine-cvs mailing list