From: wolfgang.thaller@gmx.net Date: Tue, 21 Nov 2006 00:49:53 +0000 (+0000) Subject: Fix printf$LDBLStub workaround for Darwin X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=0329ca6db4259e24f71fb607ab459591b14d8a70 Fix printf$LDBLStub workaround for Darwin Apparently, the original fix never really worked due to typos and oversights. --- diff --git a/configure.ac b/configure.ac index f1e5fa2..7f977cd 100644 --- a/configure.ac +++ b/configure.ac @@ -1175,8 +1175,8 @@ AC_CHECK_LIB(rt, clock_gettime) AC_CHECK_FUNCS(clock_gettime) dnl ** check for Apple's "interesting" long double compatibility scheme -AC_MSG_CHECKING(for printf$LDBLStub) -AC_TRY_LINK_FUNC(printf$LSBLStub, +AC_MSG_CHECKING(for printf\$LDBLStub) +AC_TRY_LINK_FUNC(printf\$LDBLStub, [ AC_MSG_RESULT(yes) AC_DEFINE([HAVE_PRINTF_LDBLSTUB],[1], diff --git a/rts/Linker.c b/rts/Linker.c index 53def90..54251ac 100644 --- a/rts/Linker.c +++ b/rts/Linker.c @@ -797,6 +797,7 @@ static RtsSymbolVal rtsSyms[] = { RTS_POSIX_ONLY_SYMBOLS RTS_MINGW_ONLY_SYMBOLS RTS_CYGWIN_ONLY_SYMBOLS + RTS_DARWIN_ONLY_SYMBOLS RTS_LIBGCC_SYMBOLS #if defined(darwin_HOST_OS) && defined(i386_HOST_ARCH) // dyld stub code contains references to this,