Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5e8637d
commit fe69fdc
Showing
2 changed files
with
28 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
diff --git a/rts/RtsSymbols.c b/rts/RtsSymbols.c | ||
index 9ca696c27c441059fb0fd82854e0737d5eccf2ad..d5b8cc5fece8395d277dd01cabdc309ac33406da 100644 | ||
--- a/rts/RtsSymbols.c | ||
+++ b/rts/RtsSymbols.c | ||
@@ -539,11 +539,21 @@ | ||
#define RTS_PROF_SYMBOLS /* empty */ | ||
#endif | ||
|
||
+#if RTS_LINKER_USE_MMAP | ||
+#define RTS_LINKER_USE_MMAP_SYMBOLS \ | ||
+ SymI_HasProto(allocateWrite) \ | ||
+ SymI_HasProto(freeWrite) \ | ||
+ SymI_HasProto(markExec) | ||
+#else | ||
+#define RTS_LINKER_USE_MMAP_SYMBOLS /* empty */ | ||
+#endif | ||
+ | ||
#define RTS_SYMBOLS \ | ||
Maybe_Stable_Names \ | ||
RTS_TICKY_SYMBOLS \ | ||
RTS_PROF_SYMBOLS \ | ||
RTS_LIBDW_SYMBOLS \ | ||
+ RTS_LINKER_USE_MMAP_SYMBOLS \ | ||
SymI_HasProto(StgReturn) \ | ||
SymI_HasProto(stg_gc_noregs) \ | ||
SymI_HasProto(stg_ret_v_info) \ |