Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
jberryman
GHC
Commits
0329ca6d
Commit
0329ca6d
authored
Nov 21, 2006
by
wolfgang.thaller@gmx.net
Browse files
Fix printf$LDBLStub workaround for Darwin
Apparently, the original fix never really worked due to typos and oversights.
parent
40f8b790
Changes
2
Hide whitespace changes
Inline
Side-by-side
configure.ac
View file @
0329ca6d
...
...
@@ -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$L
S
BLStub,
AC_MSG_CHECKING(for printf
\
$LDBLStub)
AC_TRY_LINK_FUNC(printf
\
$L
D
BLStub,
[
AC_MSG_RESULT(yes)
AC_DEFINE([HAVE_PRINTF_LDBLSTUB],[1],
...
...
rts/Linker.c
View file @
0329ca6d
...
...
@@ -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,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment