summaryrefslogtreecommitdiff
path: root/packages/gmp
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openembedded.org>2005-11-18 08:05:01 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-11-18 08:05:01 +0000
commitcce6287a6f4589a6494835b7710fcfa5d7d8bbe8 (patch)
tree05014db174f6479de19a10e457e1f0a51b31e2af /packages/gmp
parentdc1b9c438381a5365f4787d64defaf60befa3946 (diff)
gmp 4.1.4: added asm fix for sh4 provided by Jamie Lenehan - close #469
Diffstat (limited to 'packages/gmp')
-rw-r--r--packages/gmp/gmp-4.1.4/sh4-asmfix.patch26
-rw-r--r--packages/gmp/gmp_4.1.4.bb8
2 files changed, 31 insertions, 3 deletions
diff --git a/packages/gmp/gmp-4.1.4/sh4-asmfix.patch b/packages/gmp/gmp-4.1.4/sh4-asmfix.patch
new file mode 100644
index 0000000000..1a01f61533
--- /dev/null
+++ b/packages/gmp/gmp-4.1.4/sh4-asmfix.patch
@@ -0,0 +1,26 @@
+--- gmp-4.1.4/mpn/sh/add_n.s 2005/11/17 08:44:00 1.1
++++ gmp-4.1.4/mpn/sh/add_n.s 2005/11/17 08:18:57
+@@ -29,8 +29,8 @@
+
+ .text
+ .align 2
+- .global ___gmpn_add_n
+-___gmpn_add_n:
++ .global __gmpn_add_n
++__gmpn_add_n:
+ mov #0,r3 ! clear cy save reg
+
+ Loop: mov.l @r5+,r1
+--- gmp-4.1.4/mpn/sh/sub_n.s 2005/11/17 08:44:04 1.1
++++ gmp-4.1.4/mpn/sh/sub_n.s 2005/11/17 08:18:59
+@@ -29,8 +29,8 @@
+
+ .text
+ .align 2
+- .global ___gmpn_sub_n
+-___gmpn_sub_n:
++ .global __gmpn_sub_n
++__gmpn_sub_n:
+ mov #0,r3 ! clear cy save reg
+
+ Loop: mov.l @r5+,r1
diff --git a/packages/gmp/gmp_4.1.4.bb b/packages/gmp/gmp_4.1.4.bb
index c9348ea43e..d80e728dc4 100644
--- a/packages/gmp/gmp_4.1.4.bb
+++ b/packages/gmp/gmp_4.1.4.bb
@@ -3,15 +3,17 @@ DESCRIPTION = "GNU multiprecision arithmetic library"
HOMEPAGE = "http://www.swox.com/gmp/"
LICENSE = "GPL LGPL"
+PR = "r1"
+
SRC_URI = "ftp://ftp.gnu.org/gnu/gmp/gmp-${PV}.tar.bz2 \
file://configure.patch;patch=1 \
- file://amd64.patch;patch=1"
+ file://amd64.patch;patch=1 \
+ file://sh4-asmfix.patch;patch=1"
inherit autotools
acpaths = ""
do_stage () {
- oe_libinstall -so libgmp ${STAGING_LIBDIR}
- install -m 0644 ${S}/gmp.h ${STAGING_INCDIR}/gmp.h
+ autotools_stage_all
}