1 |
vapier 10/01/08 14:13:45 |
2 |
|
3 |
Added: gmp-5.0.0-s390.diff |
4 |
Log: |
5 |
Version bump. |
6 |
(Portage version: 2.2_rc61/cvs/Linux x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 dev-libs/gmp/files/gmp-5.0.0-s390.diff |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/gmp/files/gmp-5.0.0-s390.diff?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/gmp/files/gmp-5.0.0-s390.diff?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: gmp-5.0.0-s390.diff |
15 |
=================================================================== |
16 |
stolen from SuSE |
17 |
|
18 |
--- configure.in |
19 |
+++ configure.in |
20 |
@@ -1050,6 +1050,9 @@ |
21 |
;; |
22 |
|
23 |
|
24 |
+ s390x-*-*) |
25 |
+ path="s390x" ;; |
26 |
+ |
27 |
# IBM s/370 and similar |
28 |
[s3[6-9]0*-*-*]) |
29 |
gcc_cflags="-O2 $fomit_frame_pointer" |
30 |
--- configure |
31 |
+++ configure |
32 |
@@ -1050,6 +1050,9 @@ |
33 |
;; |
34 |
|
35 |
|
36 |
+ s390x-*-*) |
37 |
+ path="s390x" ;; |
38 |
+ |
39 |
# IBM s/370 and similar |
40 |
s3[6-9]0*-*-*) |
41 |
gcc_cflags="-O2 $fomit_frame_pointer" |
42 |
--- mpn/s390/gmp-mparam.h |
43 |
+++ mpn/s390/gmp-mparam.h |
44 |
@@ -20,7 +20,8 @@ |
45 |
MA 02110-1301, USA. */ |
46 |
|
47 |
|
48 |
-/* GMP_LIMB_BITS etc generated by configure */ |
49 |
+#define GMP_LIMB_BITS 32 |
50 |
+#define BYTES_PER_MP_LIMB 4 |
51 |
|
52 |
|
53 |
/* Generated by tuneup.c, 2001-12-03, gcc 2.95 */ |
54 |
--- mpn/s390x/gmp-mparam.h |
55 |
+++ mpn/s390x/gmp-mparam.h |
56 |
@@ -0,0 +1,27 @@ |
57 |
+/* gmp-mparam.h -- Compiler/machine parameter header file. |
58 |
+ |
59 |
+Copyright (C) 1991, 1993, 1994, 1995 Free Software Foundation, Inc. |
60 |
+ |
61 |
+This file is part of the GNU MP Library. |
62 |
+ |
63 |
+The GNU MP Library is free software; you can redistribute it and/or modify |
64 |
+it under the terms of the GNU Library General Public License as published by |
65 |
+the Free Software Foundation; either version 2 of the License, or (at your |
66 |
+option) any later version. |
67 |
+ |
68 |
+The GNU MP Library is distributed in the hope that it will be useful, but |
69 |
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY |
70 |
+or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public |
71 |
+License for more details. |
72 |
+ |
73 |
+You should have received a copy of the GNU Library General Public License |
74 |
+along with the GNU MP Library; see the file COPYING.LIB. If not, write to |
75 |
+the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, |
76 |
+MA 02111-1307, USA. */ |
77 |
+ |
78 |
+#define GMP_LIMB_BITS 64 |
79 |
+#define BYTES_PER_MP_LIMB 8 |
80 |
+#define BITS_PER_LONGINT 64 |
81 |
+#define BITS_PER_INT 32 |
82 |
+#define BITS_PER_SHORTINT 16 |
83 |
+#define BITS_PER_CHAR 8 |