summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/mdso/mdso.h1
-rw-r--r--include/mdso/mdso_specs.h31
2 files changed, 32 insertions, 0 deletions
diff --git a/include/mdso/mdso.h b/include/mdso/mdso.h
index 7bbe894..59a38bc 100644
--- a/include/mdso/mdso.h
+++ b/include/mdso/mdso.h
@@ -147,6 +147,7 @@ mdso_api uint64_t mdso_crc64_mbstr (const unsigned char * str, size_t * symlen);
mdso_api int mdso_asmgen_dsometa (const struct mdso_driver_ctx *, FILE * fout);
mdso_api int mdso_asmgen_symentry (const struct mdso_driver_ctx *, const char * sym, FILE * fout);
mdso_api int mdso_asmgen_symfn (const struct mdso_driver_ctx *, const char * sym, FILE * fout);
+mdso_api int mdso_objgen_dsometa (const struct mdso_driver_ctx *, FILE * fout, struct mdso_object *);
mdso_api int mdso_objgen_symentry (const struct mdso_driver_ctx *, const char * sym, FILE * fout, struct mdso_object *);
mdso_api int mdso_objgen_symfn (const struct mdso_driver_ctx *, const char * sym, FILE * fout, struct mdso_object *);
diff --git a/include/mdso/mdso_specs.h b/include/mdso/mdso_specs.h
index c4dd72b..642005f 100644
--- a/include/mdso/mdso_specs.h
+++ b/include/mdso/mdso_specs.h
@@ -45,4 +45,35 @@ struct mdso_meta_record {
void * fnr2;
};
+
+struct mdso_meta_record_m32 {
+ uint32_t base;
+ uint32_t name;
+ uint32_t flags;
+ uint32_t priority;
+ uint32_t nsyms;
+ uint32_t padding;
+ uint32_t hashtbl;
+ uint32_t symtbl;
+ uint32_t fncarg;
+ uint32_t fncargarr;
+ uint32_t fnr1;
+ uint32_t fnr2;
+};
+
+struct mdso_meta_record_m64 {
+ uint64_t base;
+ uint64_t name;
+ uint32_t flags;
+ uint32_t priority;
+ uint32_t nsyms;
+ uint32_t padding;
+ uint64_t hashtbl;
+ uint64_t symtbl;
+ uint64_t fncarg;
+ uint64_t fncargarr;
+ uint64_t fnr1;
+ uint64_t fnr2;
+};
+
#endif