Fix for section headers too long on Mac. Thanks Leif Lionhardy.
This commit is contained in:
parent
0bc525c9a3
commit
6e9bcedb5b
2
configure
vendored
2
configure
vendored
@ -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*)
|
||||
|
@ -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" ;;
|
||||
|
Loading…
Reference in New Issue
Block a user