diff options
Diffstat (limited to 'rts/linker/PEi386.c')
-rw-r--r-- | rts/linker/PEi386.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/rts/linker/PEi386.c b/rts/linker/PEi386.c index 364f7780b2..49aa16d3e3 100644 --- a/rts/linker/PEi386.c +++ b/rts/linker/PEi386.c @@ -2025,6 +2025,9 @@ SymbolAddr *lookupSymbol_PEi386(SymbolName *lbl) zapTrailingAtSign ( (unsigned char*)lbl ); #endif sym = lookupSymbolInDLLs((unsigned char*)lbl); + /* TODO: We should really cache this symbol now that we've loaded it. + The system loader is fast, but not fast enough to keep wasting + cycles like this. */ return sym; // might be NULL if not found } else { #if defined(mingw32_HOST_OS) |