-
-
Save rolfbjarne/924cf21eb19aafce003c to your computer and use it in GitHub Desktop.
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
diff --git a/mono/mini/aot-runtime.c b/mono/mini/aot-runtime.c | |
index 5f76ca7..d832da3 100644 | |
--- a/mono/mini/aot-runtime.c | |
+++ b/mono/mini/aot-runtime.c | |
@@ -2518,6 +2518,7 @@ load_method (MonoDomain *domain, MonoAotModule *amodule, MonoImage *image, MonoM | |
} | |
code = &amodule->code [amodule->code_offsets [method_index]]; | |
+ code = amodule->code_offsets [method_index]; | |
info = &amodule->blob [mono_aot_get_offset (amodule->method_info_offsets, method_index)]; | |
diff --git a/mono/mini/image-writer.c b/mono/mini/image-writer.c | |
index 2405959..04a8f93 100644 | |
--- a/mono/mini/image-writer.c | |
+++ b/mono/mini/image-writer.c | |
@@ -1993,7 +1993,8 @@ asm_writer_emit_symbol_diff (MonoImageWriter *acfg, const char *end, const char* | |
char symbol [128]; | |
sprintf (symbol, ".LDIFF_SYM%d", acfg->label_gen); | |
acfg->label_gen ++; | |
- fprintf (acfg->fp, "\n%s=%s - %s", symbol, end, start); | |
+// fprintf (acfg->fp, "\n%s=%s - %s", symbol, end, start); | |
+ fprintf (acfg->fp, "\n%s=%s", symbol, end); | |
fprintf (acfg->fp, "\n\t%s ", AS_INT32_DIRECTIVE); | |
fprintf (acfg->fp, "%s", symbol); | |
return; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment