diff --git a/configure b/configure index 936c2310..dc7ec55f 100755 --- a/configure +++ b/configure @@ -25408,7 +25408,7 @@ $as_echo "determined" >&6; } # Defined in mpn/x86_64/x86_64-defs.m4, but there currently # hardcoded just for ELF, so redefine it here for Mach-O: -echo "define(\`JUMPTABSECT',RODATA)" >> $gmp_tmpconfigm4p +echo "define(\`JUMPTABSECT',\` .section __DATA,__const')" >> $gmp_tmpconfigm4p OBJECT_FORMAT="-f macho64" ;; *-w64-mingw*|*-*-cygwin*) diff --git a/configure.ac b/configure.ac index fe5dc1a3..0e131b66 100644 --- a/configure.ac +++ b/configure.ac @@ -2847,7 +2847,7 @@ if test "$gmp_asm_syntax_testing" != no; then *-*-darwin*) # Defined in mpn/x86_64/x86_64-defs.m4, but there currently # hardcoded just for ELF, so redefine it here for Mach-O: - GMP_DEFINE_RAW(["define(\`JUMPTABSECT',RODATA)"],POST) + GMP_DEFINE_RAW(["define(\`JUMPTABSECT',\` .section __DATA,__const')"],POST) OBJECT_FORMAT="-f macho64" ;; *-w64-mingw*|*-*-cygwin*) OBJECT_FORMAT="-f x64" ;;