[mono/mono] 4fa9a03e: Add mono_arch_get_nullified_class_init_trampoline
| Newsgroups | gmane.comp.gnome.mono.patches |
|---|---|
| Message-ID | <000001420a6b62f1-f0ae0bd5-eee0-4921-b7bd-2c15e8e7435f-000000@email.amazonses.com> |
Branch: refs/heads/master
Home: https://github.com/mono/mono
Compare: https://github.com/mono/mono/compare/5b22c2507368...4fa9a03ee5ca
Commit: 4fa9a03ee5ca7c86506bdc3a46957b18f532ee4f
Author: Neale Ferguson <[email protected]> (nealef)
Date: 2013-10-30 17:30:05 GMT
URL: https://github.com/mono/mono/commit/4fa9a03ee5ca7c86506bdc3a46957b18f532ee4f
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