[Gmp-commit] /var/hg/gmp: Check for ELFv1 ABI on PowerPC.
mercurial at gmplib.org
mercurial at gmplib.org
Mon Aug 19 08:28:56 UTC 2019
details: /var/hg/gmp/rev/67fd4e0880a0
changeset: 17828:67fd4e0880a0
user: Torbjorn Granlund <tg at gmplib.org>
date: Mon Aug 19 10:28:48 2019 +0200
description:
Check for ELFv1 ABI on PowerPC.
diffstat:
configure.ac | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diffs (17 lines):
diff -r 823479a765bf -r 67fd4e0880a0 configure.ac
--- a/configure.ac Sun Aug 18 22:28:02 2019 +0200
+++ b/configure.ac Mon Aug 19 10:28:48 2019 +0200
@@ -3683,6 +3683,13 @@
GMP_ASM_POWERPC_R_REGISTERS
GMP_INCLUDE_MPN(powerpc32/powerpc-defs.m4)
+ # Check for Linux ELFv1 ABI
+ AC_EGREP_CPP(yes,
+[#if _CALL_ELF == 1
+yes
+#endif],
+ [GMP_DEFINE_RAW(["define(<ELFv1_ABI>)"])])
+
# Check for Linux ELFv2 ABI
AC_EGREP_CPP(yes,
[#if _CALL_ELF == 2
More information about the gmp-commit
mailing list