summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndreas Krebbel <Andreas.Krebbel@de.ibm.com>2011-06-07 07:26:27 -0400
committerUlrich Drepper <drepper@gmail.com>2011-06-07 07:26:27 -0400
commit5a31b2836d55bcc0c5b6f90f1e89245118e7f508 (patch)
tree925d8ec55461d2052f713b101311a04b849eb2e4
parent069e52f8362adc26a6b7ad2b32664a68d0cc7a29 (diff)
downloadglibc-5a31b2836d55bcc0c5b6f90f1e89245118e7f508.tar.gz
glibc-5a31b2836d55bcc0c5b6f90f1e89245118e7f508.tar.xz
glibc-5a31b2836d55bcc0c5b6f90f1e89245118e7f508.zip
S/390 longlong.h: Fix smul_ppmm with -m31 -mzarch
-rw-r--r--ChangeLog4
-rw-r--r--stdlib/longlong.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 269d311c0b..fd4836a02a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
+
+	* stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
+
 2011-06-06  Roland McGrath  <roland@hack.frob.com>
 
 	[BZ #12849]
diff --git a/stdlib/longlong.h b/stdlib/longlong.h
index 5937a48554..1bab76db33 100644
--- a/stdlib/longlong.h
+++ b/stdlib/longlong.h
@@ -349,7 +349,7 @@ UDItype __umulsidi3 (USItype, USItype);
     __asm__ ("mr\t%%r0,%3"                                              \
              : "=r" (r0), "=r" (r1)                                     \
              : "r"  (r1),  "r" (m1));                                   \
-    (xh) = r1; (xl) = r0;                                               \
+    (xh) = r0; (xl) = r1;                                               \
   } while (0)
 #define sdiv_qrnnd(q, r, n1, n0, d) \
   do {									\