gmp/gmp-4.1.2-ppc64.patch
cvsdist 4e10f76d3c auto-import changelog data from gmp-4.1.2-9.src.rpm
Thu Oct 23 2003 Joe Orton <jorton@redhat.com> 4.1.2-9
- build with -Wa,--noexecstack
Thu Oct 23 2003 Joe Orton <jorton@redhat.com> 4.1.2-8
- build assembly code with -Wa,--execstack
- use parallel make
- run tests, and fix C++ therein
Thu Oct 02 2003 Florian La Roche <Florian.LaRoche@redhat.de>
- enable mpfr #104395
- enable cxx #80195
- add COPYING.LIB
- add fixes from gmp web-site
- remove some cruft patches for older libtool releases
Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
- rebuilt
Tue Jun 03 2003 Florian La Roche <Florian.LaRoche@redhat.de>
- make configure.in work with newer autoconf
Sun Jun 01 2003 Florian La Roche <Florian.LaRoche@redhat.de>
- do not set extra_functions for s390x #92001
Thu Feb 13 2003 Elliot Lee <sopwith@redhat.com> 4.1.2-3
- Add ppc64 patch, accompanied by running auto*
2004-09-09 05:21:57 +00:00

35 lines
1.0 KiB
Diff

--- 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 <<EOF
$gmp_cv_asm_globl .${tmp_underscore}underscore_test
.${tmp_underscore}underscore_test$gmp_cv_asm_label_suffix
--- gmp-4.1.2/configure.in.sopwith 2003-02-11 10:48:30.000000000 -0500
+++ gmp-4.1.2/configure.in 2003-02-11 10:51:58.000000000 -0500
@@ -669,6 +669,11 @@
case $host_cpu in
powerpc740 | powerpc750 | powerpc7400)
path="powerpc32/750 powerpc32" ;;
+ powerpc64)
+ gcc_cflags="-g -O2"
+ gcc_cflags_asm="-Wa,-mppc64"
+ extra_functions=""
+ ;;
*)
path="powerpc32" ;;
esac
@@ -1943,6 +1948,8 @@
GMP_ASM_M68K_ADDRESSING
GMP_ASM_M68K_BRANCHES
;;
+ powerpc64*-*-*)
+ ;;
powerpc*-*-*)
GMP_ASM_POWERPC_R_REGISTERS
GMP_INCLUDE_MPN(powerpc32/powerpc-defs.m4)