[PATCH] Support powerpc64le-linux platform

Niels Möller nisse at lysator.liu.se
Wed Dec 4 08:14:11 UTC 2013


"Ulrich Weigand" <uweigand at de.ibm.com> writes:

> - Update configfsf.guess/sub to current upstream versions.

We should definitely do that, independent of the other fixes. Please
remind if we don't get to that within a week or so (I can't do it right
away).

> - Change mpn/powerpc64/elf.m4 to generate appropriate assembler
>   code for the new ELFv2 ABI.  The relevant change here is that
>   we no longer require function descriptors; instead, functions
>   that use the TOC register need to provide a pair of global
>   and local entry points.  For more details, see the GCC patch
>   messages here:
>   http://gcc.gnu.org/ml/gcc-patches/2013-11/msg01144.html
>   http://gcc.gnu.org/ml/gcc-patches/2013-11/msg01141.html

Looks sane to me (without understanding the fine details). Maybe
Torbjörn has some comments. I'm not really familiar neither with how ABI
variants are handled in GMP, nor with powerpc assembly.

> Would this be OK for GMP mainline?

I think so.

> (I haven't submitted a GMP patch before; if there's anything else I
> should be doing to facilitate this process, please let me know!)

We ask for FSF copyright assignments for all substantial changes. Yours
is maybe borderline, but I think we'd still like to have some paperwork.
We can arrange it off-list.

Regards,
/Niels

-- 
Niels Möller. PGP-encrypted email is preferred. Keyid C0B98E26.
Internet email is subject to wholesale government surveillance.


More information about the gmp-devel mailing list