tcpreplay: Bump version to v4.2.0
[buildroot-gz.git] / package / mpfr / 0001-Fix-obsolete-ARC-asm-constraints.patch
blob12590cfd30456698d04aac4bcd6191cd835983e8
1 mpfr-longlong.h: Fix obsolete ARC asm constraints
3 This patch replaces obsolete ARC "J" asm constraint with
4 up-to-date "Cal" constraint.
5 The patch should be applied to upstream "mpfr" library and
6 after that it should be removed from buildroot as soon as
7 mpfr version with current fix will come up.
9 Signed-off-by: Vlad Zakharov <vzakhar@synopsys.com>
10 Signed-off-by: Claudiu Zissulescu <claziss@synopsys.com>
11 ---
12 Index: /src/mpfr-longlong.h
13 ===================================================================
14 --- /src/mpfr-longlong.h (revision 10963)
15 +++ /src/mpfr-longlong.h (working copy)
16 @@ -416,17 +416,17 @@
17 : "=r" (sh), \
18 "=&r" (sl) \
19 : "r" ((USItype) (ah)), \
20 - "rIJ" ((USItype) (bh)), \
21 + "rICal" ((USItype) (bh)), \
22 "%r" ((USItype) (al)), \
23 - "rIJ" ((USItype) (bl)))
24 + "rICal" ((USItype) (bl)))
25 #define sub_ddmmss(sh, sl, ah, al, bh, bl) \
26 __asm__ ("sub.f\t%1, %4, %5\n\tsbc\t%0, %2, %3" \
27 : "=r" (sh), \
28 "=&r" (sl) \
29 : "r" ((USItype) (ah)), \
30 - "rIJ" ((USItype) (bh)), \
31 + "rICal" ((USItype) (bh)), \
32 "r" ((USItype) (al)), \
33 - "rIJ" ((USItype) (bl)))
34 + "rICal" ((USItype) (bl)))
35 #endif
37 #if defined (__arm__) && (defined (__thumb2__) || !defined (__thumb__)) \