diff options
author | Torbjorn Granlund <tg@gmplib.org> | 2021-11-14 12:22:50 +0100 |
---|---|---|
committer | Torbjorn Granlund <tg@gmplib.org> | 2021-11-14 12:22:50 +0100 |
commit | 928ed2280f77ae1d4c0d5bf88635cf38b29f27f2 (patch) | |
tree | d2bfd361db25aa844c7c6bb4792b2a5f4475e4c3 /acinclude.m4 | |
parent | 798fa2a7893ee32e047e3fc265effda43f77c71c (diff) | |
download | gmp-928ed2280f77ae1d4c0d5bf88635cf38b29f27f2.tar.gz |
Clean up Sparc 64-bit PIC while allowing old-style gdop-incapable environments.
Diffstat (limited to 'acinclude.m4')
-rw-r--r-- | acinclude.m4 | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index 9ca4e3701..8cdc03cfa 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -3085,26 +3085,26 @@ GMP_DEFINE_RAW(["define(<HAVE_REGISTER>,<$gmp_cv_asm_sparc_register>)"]) ]) -dnl GMP_ASM_SPARC_GOTDATA +dnl GMP_ASM_SPARC_GDOP dnl ---------------------- -dnl Determine whether the assembler accepts gotdata relocations. +dnl Determine whether the assembler accepts gdop relocations. dnl dnl See also mpn/sparc32/sparc-defs.m4 which uses the result of this test. -AC_DEFUN([GMP_ASM_SPARC_GOTDATA], +AC_DEFUN([GMP_ASM_SPARC_GDOP], [AC_REQUIRE([GMP_ASM_TEXT]) -AC_CACHE_CHECK([if the assembler accepts gotdata relocations], - gmp_cv_asm_sparc_gotdata, +AC_CACHE_CHECK([if the assembler accepts gdop relocations], + gmp_cv_asm_sparc_gdop, [GMP_TRY_ASSEMBLE( [ $gmp_cv_asm_text .text sethi %gdop_hix22(symbol), %g1 or %g1, %gdop_lox10(symbol), %g1 ], -[gmp_cv_asm_sparc_gotdata=yes], -[gmp_cv_asm_sparc_gotdata=no])]) +[gmp_cv_asm_sparc_gdop=yes], +[gmp_cv_asm_sparc_gdop=no])]) -GMP_DEFINE_RAW(["define(<HAVE_GOTDATA>,<$gmp_cv_asm_sparc_gotdata>)"]) +GMP_DEFINE_RAW(["define(<HAVE_GDOP>,<$gmp_cv_asm_sparc_gdop>)"]) ]) |