]> git.ipfire.org Git - thirdparty/nettle.git/commit
ppc: Add configure test and macros to replace register names.
authorNiels Möller <nisse@lysator.liu.se>
Mon, 21 Sep 2020 18:07:10 +0000 (20:07 +0200)
committerNiels Möller <nisse@lysator.liu.se>
Mon, 21 Sep 2020 18:07:10 +0000 (20:07 +0200)
commit2e6c93ca0f1d3814411b009c90abd2d70e71edea
treea05632cbc65d502233732a92f24d5215fdd84bc2
parentdc89647b3033c943f3ac9a82e90dee6299ce0449
ppc: Add configure test and macros to replace register names.

* aclocal.m4 (GMP_ASM_POWERPC_R_REGISTERS): New configure test,
adapted from corresponding test in GMP's acinlude.m4.
* configure.ac (ASM_PPC_WANT_R_REGISTERS): New substituted
variable. Set using GMP_ASM_POWERPC_R_REGISTERS, when powerpc64
assembly code is enabled.
* config.m4.in: Substituted here.
* powerpc64/machine.m4: Check ASM_PPC_WANT_R_REGISTERS, and
if needed, replace register names like r0, r1, ... with integers.
* Makefile.in (%.asm): Include m4-utils.m4 for preprocessing of .asm
files, and include config.m4 before machine.m4.
ChangeLog
Makefile.in
aclocal.m4
config.m4.in
configure.ac
powerpc64/machine.m4