Fix for section headers too long on Mac. Thanks Leif Lionhardy.

This commit is contained in:
William Hart 2014-06-09 20:35:26 +01:00
parent 0bc525c9a3
commit 6e9bcedb5b
2 changed files with 2 additions and 2 deletions

2
configure vendored
View File

@ -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*)

View File

@ -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" ;;