+
+/* Trampolines which we have a lot of */
+typedef enum {
+ MONO_AOT_TRAMP_SPECIFIC = 0,
+ MONO_AOT_TRAMP_STATIC_RGCTX = 1,
+ MONO_AOT_TRAMP_IMT_THUNK = 2,
+ MONO_AOT_TRAMP_NUM = 3
+} MonoAotTrampoline;
+
+/* This structure is stored in the AOT file */
+typedef struct MonoAotFileInfo
+{
+ guint32 plt_got_offset_base;
+ guint32 got_size;
+ guint32 plt_size;
+
+ guint32 num_trampolines [MONO_AOT_TRAMP_NUM];
+ guint32 trampoline_got_offset_base [MONO_AOT_TRAMP_NUM];
+ guint32 trampoline_size [MONO_AOT_TRAMP_NUM];
+} MonoAotFileInfo;