[mono/mono] 0c07e4a0: Add mono_arch_get_nullified_class_init_trampoline
| Newsgroups | gmane.comp.gnome.mono.patches |
|---|---|
| Message-ID | <000001420aa763c7-3d8be8af-f007-4b40-80ac-1df5d49330a7-000000@email.amazonses.com> |
Branch: refs/heads/master
Home: https://github.com/mono/mono
Compare: https://github.com/mono/mono/compare/26056e78ae43...0c07e4a0b864
Commit: 0c07e4a0b8647395ec07b5c1ca9c469174878410
Author: Neale Ferguson <[email protected]> (nealef)
Committer: Miguel de Icaza <[email protected]> (migueldeicaza)
Date: 2013-10-30 18:35:36 GMT
URL: https://github.com/mono/mono/commit/0c07e4a0b8647395ec07b5c1ca9c469174878410
Add mono_arch_get_nullified_class_init_trampoline
Changed paths:
M mono/mini/tramp-s390x.c
Modified: mono/mini/tramp-s390x.c
===================================================================
@@ -193,6 +193,32 @@
/*------------------------------------------------------------------*/
/* */
+/* Name - mono_arch_get_nullified_class_init */
+/* */
+/* Function - Nullify a PLT entry call. */
+/* */
+/*------------------------------------------------------------------*/
+
+gpointer
+mono_arch_get_nullified_class_init_trampoline (MonoTrampInfo **info)
+{
+ guint8 *buf, *code;
+
+ code = buf = mono_global_codeman_reserve (16);
+
+ s390_br (code, s390_r14);
+
+ if (info)
+ *info = mono_tramp_info_create ("nullified_class_init_trampoline",
+ buf, code - buf, NULL, NULL);
+
+ return (buf);
+}
+
+/*========================= End of Function ========================*/
+
+/*------------------------------------------------------------------*/
+/* */
/* Name - mono_arch_nullify_plt_entry */
/* */
/* Function - Nullify a PLT entry call. */
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches