summaryrefslogtreecommitdiffstats
path: root/meta/packages/gmp/gmp-4.1.2/gcc-compile.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/gmp/gmp-4.1.2/gcc-compile.patch')
-rw-r--r--meta/packages/gmp/gmp-4.1.2/gcc-compile.patch72
1 files changed, 0 insertions, 72 deletions
diff --git a/meta/packages/gmp/gmp-4.1.2/gcc-compile.patch b/meta/packages/gmp/gmp-4.1.2/gcc-compile.patch
deleted file mode 100644
index 4d880123e9..0000000000
--- a/meta/packages/gmp/gmp-4.1.2/gcc-compile.patch
+++ /dev/null
@@ -1,72 +0,0 @@
1 diff -Naur gmp-4.1.2.orig/mpf/ceilfloor.c gmp-4.1.2/mpf/ceilfloor.c
2 --- gmp-4.1.2.orig/mpf/ceilfloor.c 2001-05-10 22:31:13.000000000 +0000
3 +++ gmp-4.1.2/mpf/ceilfloor.c 2004-04-25 03:48:20.823016075 +0000
4 @@ -31,7 +31,7 @@
5 static void __gmpf_ceil_or_floor _PROTO ((REGPARM_2_1 (mpf_ptr r, mpf_srcptr u, int dir))) REGPARM_ATTR (1);
6 #define mpf_ceil_or_floor(r,u,dir) __gmpf_ceil_or_floor (REGPARM_2_1 (r, u, dir))
7
8 -static void
9 +REGPARM_ATTR (1) static void
10 mpf_ceil_or_floor (mpf_ptr r, mpf_srcptr u, int dir)
11 {
12 mp_ptr rp, up, p;
13 diff -Naur gmp-4.1.2.orig/mpq/aors.c gmp-4.1.2/mpq/aors.c
14 --- gmp-4.1.2.orig/mpq/aors.c 2001-09-01 22:41:02.000000000 +0000
15 +++ gmp-4.1.2/mpq/aors.c 2004-04-25 03:48:20.826015531 +0000
16 @@ -27,7 +27,7 @@
17 static void __gmpq_aors _PROTO ((REGPARM_3_1 (mpq_ptr w, mpq_srcptr x, mpq_srcptr y, void (*fun) _PROTO ((mpz_ptr, mpz_srcptr, mpz_srcptr))))) REGPARM_ATTR (1);
18 #define mpq_aors(w,x,y,fun) __gmpq_aors (REGPARM_3_1 (w, x, y, fun))
19
20 -static void
21 +REGPARM_ATTR (1) static void
22 mpq_aors (mpq_ptr rop, mpq_srcptr op1, mpq_srcptr op2,
23 void (*fun) _PROTO ((mpz_ptr, mpz_srcptr, mpz_srcptr)))
24 {
25 diff -Naur gmp-4.1.2.orig/mpz/aorsmul.c gmp-4.1.2/mpz/aorsmul.c
26 --- gmp-4.1.2.orig/mpz/aorsmul.c 2001-05-02 22:30:07.000000000 +0000
27 +++ gmp-4.1.2/mpz/aorsmul.c 2004-04-25 03:48:20.828015169 +0000
28 @@ -39,7 +39,7 @@
29 static void __gmpz_aorsmul _PROTO ((REGPARM_3_1 (mpz_ptr w, mpz_srcptr x, mpz_srcptr y, mp_size_t sub))) REGPARM_ATTR (1);
30 #define mpz_aorsmul(w,x,y,sub) __gmpz_aorsmul (REGPARM_3_1 (w, x, y, sub))
31
32 -static void
33 +REGPARM_ATTR (1) static void
34 mpz_aorsmul (mpz_ptr w, mpz_srcptr x, mpz_srcptr y, mp_size_t sub)
35 {
36 mp_size_t xsize, ysize, tsize, wsize, wsize_signed;
37 diff -Naur gmp-4.1.2.orig/mpz/aorsmul_i.c gmp-4.1.2/mpz/aorsmul_i.c
38 --- gmp-4.1.2.orig/mpz/aorsmul_i.c 2002-05-14 16:59:49.000000000 +0000
39 +++ gmp-4.1.2/mpz/aorsmul_i.c 2004-04-25 03:49:07.962471904 +0000
40 @@ -57,7 +57,7 @@
41 twos-complement negative y doesn't work, because it effectively adds an
42 extra x * 2^BITS_PER_MP_LIMB. */
43
44 -void
45 +REGPARM_ATTR (1) void
46 mpz_aorsmul_1 (mpz_ptr w, mpz_srcptr x, mp_limb_t y, mp_size_t sub)
47 {
48 mp_size_t xsize, wsize, wsize_signed, new_wsize, min_size, dsize;
49 diff -Naur gmp-4.1.2.orig/mpz/cfdiv_q_2exp.c gmp-4.1.2/mpz/cfdiv_q_2exp.c
50 --- gmp-4.1.2.orig/mpz/cfdiv_q_2exp.c 2002-02-08 21:55:17.000000000 +0000
51 +++ gmp-4.1.2/mpz/cfdiv_q_2exp.c 2004-04-25 03:48:20.830014806 +0000
52 @@ -29,7 +29,7 @@
53 static void __gmpz_cfdiv_q_2exp _PROTO ((REGPARM_3_1 (mpz_ptr w, mpz_srcptr u, unsigned long cnt, int dir))) REGPARM_ATTR (1);
54 #define cfdiv_q_2exp(w,u,cnt,dir) __gmpz_cfdiv_q_2exp (REGPARM_3_1 (w,u,cnt,dir))
55
56 -static void
57 +REGPARM_ATTR (1) static void
58 cfdiv_q_2exp (mpz_ptr w, mpz_srcptr u, unsigned long cnt, int dir)
59 {
60 mp_size_t wsize, usize, abs_usize, limb_cnt, i;
61 diff -Naur gmp-4.1.2.orig/mpz/cfdiv_r_2exp.c gmp-4.1.2/mpz/cfdiv_r_2exp.c
62 --- gmp-4.1.2.orig/mpz/cfdiv_r_2exp.c 2002-04-18 16:48:25.000000000 +0000
63 +++ gmp-4.1.2/mpz/cfdiv_r_2exp.c 2004-04-25 03:48:20.832014444 +0000
64 @@ -32,7 +32,7 @@
65 static void __gmpz_cfdiv_r_2exp _PROTO ((REGPARM_3_1 (mpz_ptr w, mpz_srcptr u, unsigned long cnt, int dir))) REGPARM_ATTR (1);
66 #define cfdiv_r_2exp(w,u,cnt,dir) __gmpz_cfdiv_r_2exp (REGPARM_3_1 (w, u, cnt, dir))
67
68 -static void
69 +REGPARM_ATTR (1) static void
70 cfdiv_r_2exp (mpz_ptr w, mpz_srcptr u, unsigned long cnt, int dir)
71 {
72 mp_size_t usize, abs_usize, limb_cnt, i;