Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZoltan Varga <vargaz@gmail.com>2013-07-09 02:26:39 +0400
committerZoltan Varga <vargaz@gmail.com>2013-07-09 02:27:43 +0400
commit7c084530b09a5eaa13d465ef1fb40202a6b4a055 (patch)
tree6dec7cbf759c621c604d784454ab0d6572c59c88
parent8b3e6c0526466209b94d70c1f3533eced51e1f85 (diff)
Place the method_addresses symbol into the .text segment on mt, not rodata, since it is actually code.
-rw-r--r--mono/mini/aot-compiler.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mono/mini/aot-compiler.c b/mono/mini/aot-compiler.c
index 032f344e4a8..f79d96d07eb 100644
--- a/mono/mini/aot-compiler.c
+++ b/mono/mini/aot-compiler.c
@@ -6938,7 +6938,7 @@ emit_code (MonoAotCompile *acfg)
* This is PIE code, and the linker can update it if needed.
*/
sprintf (symbol, "method_addresses");
- emit_section_change (acfg, RODATA_SECT, 1);
+ emit_section_change (acfg, ".text", 1);
emit_alignment (acfg, 8);
emit_label (acfg, symbol);
emit_local_symbol (acfg, symbol, "method_addresses_end", TRUE);