summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2017-02-09 19:43:45 -0500
committermidipix <writeonce@midipix.org>2017-02-11 19:07:51 -0500
commit9c013b63fef168f49246fd69ab0c0ce024a20941 (patch)
tree13ca8a0aab41cb48d7b1e8ef6870e81609da04f5 /include
parent5d3a9331a3ced5aa0898839f651c9ec004c9f6f4 (diff)
downloadmdso-9c013b63fef168f49246fd69ab0c0ce024a20941.tar.bz2
mdso-9c013b63fef168f49246fd69ab0c0ce024a20941.tar.xz
archive generation: added mdso_argen_common().
Diffstat (limited to 'include')
-rw-r--r--include/mdso/mdso.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/mdso/mdso.h b/include/mdso/mdso.h
index 5822880..105a9c5 100644
--- a/include/mdso/mdso.h
+++ b/include/mdso/mdso.h
@@ -55,6 +55,7 @@ enum mdso_custom_error {
MDSO_ERR_INVALID_DSTDIR,
MDSO_ERR_INVALID_CONTEXT,
MDSO_ERR_INVALID_SOURCE,
+ MDSO_ERR_INVALID_VECTOR,
MDSO_ERR_SOURCE_SIZE_ZERO,
MDSO_ERR_CAP,
};
@@ -74,7 +75,7 @@ struct mdso_input {
struct mdso_object {
void * addr;
size_t size;
- void * mapstrs;
+ char * mapstrs;
uint32_t mapstrsnum;
uint32_t mapstrslen;
uint32_t arhdrpos;
@@ -155,6 +156,7 @@ mdso_api int mdso_asmgen_symfn (const struct mdso_driver_ctx *, const char
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 *);
+mdso_api int mdso_argen_common (const struct mdso_driver_ctx *, const char ** symv, FILE * fout, struct mdso_object *);
#ifdef __cplusplus
}