summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2017-02-07 19:58:46 -0500
committermidipix <writeonce@midipix.org>2017-02-08 01:19:08 -0500
commit2f03312a60aefe175c0d6764975c632b41e676c8 (patch)
treefb97448f1785d2bac5473a9256bc496ec534584b /include
parent4dc5cf4244265cdd14e1b1917d2be179dcbbdb4d (diff)
downloadmdso-2f03312a60aefe175c0d6764975c632b41e676c8.tar.bz2
mdso-2f03312a60aefe175c0d6764975c632b41e676c8.tar.xz
object generation: added mdso_objgen_dsometa().
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