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>
12 Index: /src/mpfr-longlong.h
13 ===================================================================
14 --- /src/mpfr-longlong.h (revision 10963)
15 +++ /src/mpfr-longlong.h (working copy)
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" \
29 : "r" ((USItype) (ah)), \
30 - "rIJ" ((USItype) (bh)), \
31 + "rICal" ((USItype) (bh)), \
32 "r" ((USItype) (al)), \
33 - "rIJ" ((USItype) (bl)))
34 + "rICal" ((USItype) (bl)))
37 #if defined (__arm__) && (defined (__thumb2__) || !defined (__thumb__)) \