diff options
author | Jeff Bailey <jeffbailey@google.com> | 2014-05-24 23:59:22 -0700 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2014-05-25 23:24:09 +0200 |
commit | a426a91973c03ea99bb49bace8141de2d1ab25d8 (patch) | |
tree | 3597d8779ef91a9dafeee40a0dfd177547fb8652 /package/gmp | |
parent | 696668b09b37c6a4db110880d519132a3da0fba5 (diff) | |
download | buildroot-a426a91973c03ea99bb49bace8141de2d1ab25d8.tar.gz buildroot-a426a91973c03ea99bb49bace8141de2d1ab25d8.zip |
Add support for powerpc64le
This patch adds support for powerpc64le-linux-gnu. This includes
needed patches to fakeroot and gmp.
gmp patch is from upstream HG tree.
fakeroot patch is from Ubuntu written by Adam Conrad.
Signed-off-by: Jeff Bailey <jeffbailey@google.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/gmp')
-rw-r--r-- | package/gmp/gmp-03-powerpc-provide-default-bmod-to-mod-threshold-1.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/package/gmp/gmp-03-powerpc-provide-default-bmod-to-mod-threshold-1.patch b/package/gmp/gmp-03-powerpc-provide-default-bmod-to-mod-threshold-1.patch new file mode 100644 index 0000000000..76aa72f086 --- /dev/null +++ b/package/gmp/gmp-03-powerpc-provide-default-bmod-to-mod-threshold-1.patch @@ -0,0 +1,22 @@ + +# HG changeset patch +# User Torbjorn Granlund <tege@gmplib.org> +# Date 1395835068 -3600 +# Node ID 4a6d258b467f661da0894cc60ecd060f2e3c67c7 +# Parent 301ce2788826a2d4d2725bd5cf01e998638db37a +Provide default for BMOD_1_TO_MOD_1_THRESHOLD. + +diff -r 301ce2788826 -r 4a6d258b467f mpn/powerpc64/mode64/gcd_1.asm +--- a/mpn/powerpc64/mode64/gcd_1.asm Tue Mar 25 15:34:52 2014 +0100 ++++ b/mpn/powerpc64/mode64/gcd_1.asm Wed Mar 26 12:57:48 2014 +0100 +@@ -43,6 +43,9 @@ + define(`n', `r4') + define(`v0', `r5') + ++ifdef(`BMOD_1_TO_MOD_1_THRESHOLD',, ++ `define(`BMOD_1_TO_MOD_1_THRESHOLD',30)') ++ + EXTERN_FUNC(mpn_mod_1) + EXTERN_FUNC(mpn_modexact_1c_odd) + + |