projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
45448a3
)
[aot] Fixed LLVM assembly generation for non-Mach targets.
author
João Matos
<joao@tritao.eu>
Thu, 12 Feb 2015 13:39:31 +0000
(13:39 +0000)
committer
João Matos
<joao@tritao.eu>
Thu, 12 Feb 2015 13:42:46 +0000
(13:42 +0000)
Fixes bugzilla #26964.
mono/mini/aot-compiler.c
patch
|
blob
|
history
diff --git
a/mono/mini/aot-compiler.c
b/mono/mini/aot-compiler.c
index 9ddb629d3c39a8f016e217238ea35eb1487be1e2..0c1ef800a339b231d5608646ebf94e8424660e8d 100644
(file)
--- a/
mono/mini/aot-compiler.c
+++ b/
mono/mini/aot-compiler.c
@@
-5858,7
+5858,9
@@
emit_plt (MonoAotCompile *acfg)
emit_label (acfg, plt_entry->llvm_symbol);
if (acfg->llvm_separate) {
emit_global (acfg, plt_entry->llvm_symbol, TRUE);
+#if defined(TARGET_MACH)
fprintf (acfg->fp, ".private_extern %s\n", plt_entry->llvm_symbol);
+#endif
}
}