diff --git a/gmp-4.0.1-s390.patch b/gmp-4.0.1-s390.patch index 69d540b..c7afefc 100644 --- a/gmp-4.0.1-s390.patch +++ b/gmp-4.0.1-s390.patch @@ -1,6 +1,34 @@ -diff -up /dev/null gmp-4.2.2/mpn/s390x/gmp-mparam.h ---- /dev/null 2008-09-01 10:12:52.609021969 +0200 -+++ gmp-4.2.2/mpn/s390x/gmp-mparam.h 2008-09-01 13:04:05.000000000 +0200 +diff -up gmp-4.3.1/configure.in.s390 gmp-4.3.1/configure.in +--- gmp-4.3.1/configure.in.s390 2009-05-12 08:12:12.000000000 +0200 ++++ gmp-4.3.1/configure.in 2009-05-28 14:59:54.000000000 +0200 +@@ -1066,6 +1066,11 @@ case $host in + ;; + + ++ s390x-*-*) ++ gcc_cflags="-g -O2 $fomit_frame_pointer" ++ path="s390x" ++ #extra_functions="udiv_w_sdiv" ++ ;; + # IBM s/370 and similar + [s3[6-9]0*-*-*]) + gcc_cflags="$gcc_cflags $fomit_frame_pointer" +diff -up gmp-4.3.1/mpn/s390/gmp-mparam.h.s390 gmp-4.3.1/mpn/s390/gmp-mparam.h +--- gmp-4.3.1/mpn/s390/gmp-mparam.h.s390 2009-05-12 08:12:12.000000000 +0200 ++++ gmp-4.3.1/mpn/s390/gmp-mparam.h 2009-05-28 14:59:54.000000000 +0200 +@@ -18,7 +18,8 @@ You should have received a copy of the G + along with the GNU MP Library. If not, see http://www.gnu.org/licenses/. */ + + +-/* BITS_PER_MP_LIMB etc generated by configure */ ++#define BITS_PER_MP_LIMB 32 ++#define BYTES_PER_MP_LIMB 4 + + + /* Generated by tuneup.c, 2001-12-03, gcc 2.95 */ +diff -up /dev/null gmp-4.3.1/mpn/s390x/gmp-mparam.h +--- /dev/null 2009-05-25 10:38:12.683001420 +0200 ++++ gmp-4.3.1/mpn/s390x/gmp-mparam.h 2009-05-28 14:59:54.000000000 +0200 @@ -0,0 +1,27 @@ +/* gmp-mparam.h -- Compiler/machine parameter header file. + @@ -29,31 +57,3 @@ diff -up /dev/null gmp-4.2.2/mpn/s390x/gmp-mparam.h +#define BITS_PER_INT 32 +#define BITS_PER_SHORTINT 16 +#define BITS_PER_CHAR 8 -diff -up gmp-4.2.2/mpn/s390/gmp-mparam.h.s390 gmp-4.2.2/mpn/s390/gmp-mparam.h ---- gmp-4.2.2/mpn/s390/gmp-mparam.h.s390 2007-08-30 20:31:41.000000000 +0200 -+++ gmp-4.2.2/mpn/s390/gmp-mparam.h 2008-09-01 13:04:05.000000000 +0200 -@@ -18,7 +18,8 @@ You should have received a copy of the G - along with the GNU MP Library. If not, see http://www.gnu.org/licenses/. */ - - --/* BITS_PER_MP_LIMB etc generated by configure */ -+#define BITS_PER_MP_LIMB 32 -+#define BYTES_PER_MP_LIMB 4 - - - /* Generated by tuneup.c, 2001-12-03, gcc 2.95 */ -diff -up gmp-4.2.2/configure.in.s390 gmp-4.2.2/configure.in ---- gmp-4.2.2/configure.in.s390 2007-09-09 18:39:14.000000000 +0200 -+++ gmp-4.2.2/configure.in 2008-09-01 13:04:05.000000000 +0200 -@@ -1054,6 +1054,11 @@ case $host in - ;; - - -+ s390x-*-*) -+ gcc_cflags="-g -O2 $fomit_frame_pointer" -+ path="s390x" -+ #extra_functions="udiv_w_sdiv" -+ ;; - # IBM s/370 and similar - [s3[6-9]0*-*-*]) - gcc_cflags="-O2 $fomit_frame_pointer" diff --git a/gmp-4.1.2-ppc64.patch b/gmp-4.1.2-ppc64.patch deleted file mode 100644 index 7123a43..0000000 --- a/gmp-4.1.2-ppc64.patch +++ /dev/null @@ -1,34 +0,0 @@ ---- gmp-4.1.2/acinclude.m4.sopwith 2002-09-07 20:02:19.000000000 -0400 -+++ gmp-4.1.2/acinclude.m4 2003-02-11 10:48:30.000000000 -0500 -@@ -1003,7 +1003,7 @@ - ${tmp_underscore}underscore_test$gmp_cv_asm_label_suffix - EOF - case $host in -- *-*-aix*) -+ *-*-aix*|powerpc64-*) - cat >>conftes2.s <