projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
21dacdc
)
Put read-only data into a separate section on ios to work around #13005.
author
Zoltan Varga
<vargaz@gmail.com>
Tue, 2 Jul 2013 17:07:57 +0000
(19:07 +0200)
committer
Zoltan Varga
<vargaz@gmail.com>
Tue, 2 Jul 2013 17:07:57 +0000
(19:07 +0200)
mono/mini/aot-compiler.c
patch
|
blob
|
history
diff --git
a/mono/mini/aot-compiler.c
b/mono/mini/aot-compiler.c
index 19de1d4ce7a6fe32ad9b4e05dcf9ce010ab130e6..032f344e4a8395bf62e7654716e03676c732ca38 100644
(file)
--- a/
mono/mini/aot-compiler.c
+++ b/
mono/mini/aot-compiler.c
@@
-71,6
+71,8
@@
#if defined(__linux__) || defined(__native_client_codegen__)
#define RODATA_SECT ".rodata"
+#elif defined(TARGET_MACH)
+#define RODATA_SECT ".section __TEXT, __const"
#else
#define RODATA_SECT ".text"
#endif