From: David S. Miller Date: Mon, 4 Jun 2012 01:51:43 +0000 (-0700) Subject: Sync longlong.h with GCC to fix a sparc regression. X-Git-Tag: glibc-2.16-tps~74 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2fd6ff133bc7df197ff3c00f50b3f9a485095b9c;p=thirdparty%2Fglibc.git Sync longlong.h with GCC to fix a sparc regression. * stdlib/longlong.h: Updated from GCC. --- diff --git a/ChangeLog b/ChangeLog index adf6c88d807..e207e4e9e5d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2012-06-03 David S. Miller + + * stdlib/longlong.h: Updated from GCC. + 2012-06-02 Andreas Schwab [BZ #14042] diff --git a/stdlib/longlong.h b/stdlib/longlong.h index ad42907f547..04277183963 100644 --- a/stdlib/longlong.h +++ b/stdlib/longlong.h @@ -1343,7 +1343,7 @@ UDItype __umulsidi3 (USItype, USItype); __asm__ ("subcc\t%r5,%6,%1\n\t" \ "sub\t%r3,%4,%0\n\t" \ "movcs\t%%xcc, 1, %2\n\t" \ - "add\t%0, %2, %0" \ + "sub\t%0, %2, %0" \ : "=r" ((UDItype)(sh)), \ "=&r" ((UDItype)(sl)), \ "+r" (__carry) \