diff options
author | Koop Mast <kwm@FreeBSD.org> | 2010-11-02 12:18:54 +0000 |
---|---|---|
committer | Koop Mast <kwm@FreeBSD.org> | 2010-11-02 12:18:54 +0000 |
commit | 5737b9faffa17e52fc6f7f0411004f9c8908c087 (patch) | |
tree | 8cbbc0096a4af0d7cac1cf54cc25e165cc797c46 /security/libgcrypt/files | |
parent | a1e0d14c442480813a8579e15f7d255a5c440013 (diff) | |
download | ports-5737b9faffa17e52fc6f7f0411004f9c8908c087.tar.gz ports-5737b9faffa17e52fc6f7f0411004f9c8908c087.zip |
Notes
Diffstat (limited to 'security/libgcrypt/files')
-rw-r--r-- | security/libgcrypt/files/patch-mpi-longlong.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/security/libgcrypt/files/patch-mpi-longlong.h b/security/libgcrypt/files/patch-mpi-longlong.h new file mode 100644 index 000000000000..a82c7188b0d5 --- /dev/null +++ b/security/libgcrypt/files/patch-mpi-longlong.h @@ -0,0 +1,42 @@ +--- ./mpi/longlong.h.orig 2010-02-22 19:04:43.000000000 +0900 ++++ ./mpi/longlong.h 2010-11-01 18:25:34.000000000 +0900 +@@ -437,8 +437,8 @@ + #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ + __asm__ ("addl %5,%1\n" \ + "adcl %3,%0" \ +- : "=r" ((USItype)(sh)), \ +- "=&r" ((USItype)(sl)) \ ++ : "=r" (sh), \ ++ "=&r" (sl) \ + : "%0" ((USItype)(ah)), \ + "g" ((USItype)(bh)), \ + "%1" ((USItype)(al)), \ +@@ -446,22 +446,22 @@ + #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ + __asm__ ("subl %5,%1\n" \ + "sbbl %3,%0" \ +- : "=r" ((USItype)(sh)), \ +- "=&r" ((USItype)(sl)) \ ++ : "=r" (sh), \ ++ "=&r" (sl) \ + : "0" ((USItype)(ah)), \ + "g" ((USItype)(bh)), \ + "1" ((USItype)(al)), \ + "g" ((USItype)(bl))) + #define umul_ppmm(w1, w0, u, v) \ + __asm__ ("mull %3" \ +- : "=a" ((USItype)(w0)), \ +- "=d" ((USItype)(w1)) \ ++ : "=a" (w0), \ ++ "=d" (w1) \ + : "%0" ((USItype)(u)), \ + "rm" ((USItype)(v))) + #define udiv_qrnnd(q, r, n1, n0, d) \ + __asm__ ("divl %4" \ +- : "=a" ((USItype)(q)), \ +- "=d" ((USItype)(r)) \ ++ : "=a" (q), \ ++ "=d" (r) \ + : "0" ((USItype)(n0)), \ + "1" ((USItype)(n1)), \ + "rm" ((USItype)(d))) |