aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2007-02-17 06:47:13 +0000
committerUlrich Drepper <drepper@redhat.com>2007-02-17 06:47:13 +0000
commit771519375a3b585e3251e88a9cc0f04ac20fb06e (patch)
tree3e3f3a44ddd2a64c9eaa6853ebeb7c6f8dcb520a /sysdeps
parent8c6d104340c5e18f22943017fb00a6acd43456b3 (diff)
downloadglibc-771519375a3b585e3251e88a9cc0f04ac20fb06e.tar
glibc-771519375a3b585e3251e88a9cc0f04ac20fb06e.tar.gz
glibc-771519375a3b585e3251e88a9cc0f04ac20fb06e.tar.bz2
glibc-771519375a3b585e3251e88a9cc0f04ac20fb06e.zip
[BZ #3851]
2007-02-16 Ulrich Drepper <drepper@redhat.com> [BZ #3851] * locales/bn_BD: Fix full name of January and February. Patch by Jamil Ahmed <jamil@bengalinux.org>.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/i386/i486/bits/atomic.h4
-rw-r--r--sysdeps/x86_64/bits/atomic.h8
2 files changed, 6 insertions, 6 deletions
diff --git a/sysdeps/i386/i486/bits/atomic.h b/sysdeps/i386/i486/bits/atomic.h
index 2684a1537e..21eea7112c 100644
--- a/sysdeps/i386/i486/bits/atomic.h
+++ b/sysdeps/i386/i486/bits/atomic.h
@@ -507,7 +507,7 @@ typedef uintmax_t uatomic_max_t;
: "=m" (*mem) \
: "iq" (mask), "m" (*mem)); \
else if (sizeof (*mem) == 2) \
- __asm __volatile (LOCK_PREFIX "andw %1, %w0" \
+ __asm __volatile (LOCK_PREFIX "andw %w1, %0" \
: "=m" (*mem) \
: "ir" (mask), "m" (*mem)); \
else if (sizeof (*mem) == 4) \
@@ -527,7 +527,7 @@ typedef uintmax_t uatomic_max_t;
: "iq" (mask), "m" (*mem), \
"i" (offsetof (tcbhead_t, multiple_threads))); \
else if (sizeof (*mem) == 2) \
- __asm __volatile (lock "orw %1, %w0" \
+ __asm __volatile (lock "orw %w1, %0" \
: "=m" (*mem) \
: "ir" (mask), "m" (*mem), \
"i" (offsetof (tcbhead_t, multiple_threads))); \
diff --git a/sysdeps/x86_64/bits/atomic.h b/sysdeps/x86_64/bits/atomic.h
index 4e58a8e487..39c6ecba83 100644
--- a/sysdeps/x86_64/bits/atomic.h
+++ b/sysdeps/x86_64/bits/atomic.h
@@ -444,7 +444,7 @@ typedef uintmax_t uatomic_max_t;
: "=m" (*mem) \
: "iq" (mask), "m" (*mem)); \
else if (sizeof (*mem) == 2) \
- __asm __volatile (LOCK_PREFIX "andw %1, %w0" \
+ __asm __volatile (LOCK_PREFIX "andw %w1, %0" \
: "=m" (*mem) \
: "ir" (mask), "m" (*mem)); \
else if (sizeof (*mem) == 4) \
@@ -452,7 +452,7 @@ typedef uintmax_t uatomic_max_t;
: "=m" (*mem) \
: "ir" (mask), "m" (*mem)); \
else \
- __asm __volatile (LOCK_PREFIX "andq %1, %q0" \
+ __asm __volatile (LOCK_PREFIX "andq %q1, %0" \
: "=m" (*mem) \
: "ir" (mask), "m" (*mem)); \
} while (0)
@@ -466,7 +466,7 @@ typedef uintmax_t uatomic_max_t;
: "iq" (mask), "m" (*mem), \
"i" (offsetof (tcbhead_t, multiple_threads))); \
else if (sizeof (*mem) == 2) \
- __asm __volatile (lock "orw %1, %w0" \
+ __asm __volatile (lock "orw %w1, %0" \
: "=m" (*mem) \
: "ir" (mask), "m" (*mem), \
"i" (offsetof (tcbhead_t, multiple_threads))); \
@@ -476,7 +476,7 @@ typedef uintmax_t uatomic_max_t;
: "ir" (mask), "m" (*mem), \
"i" (offsetof (tcbhead_t, multiple_threads))); \
else \
- __asm __volatile (lock "orq %1, %q0" \
+ __asm __volatile (lock "orq %q1, %0" \
: "=m" (*mem) \
: "ir" (mask), "m" (*mem), \
"i" (offsetof (tcbhead_t, multiple_threads))); \