summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2017-02-08 00:41:56 -0500
committermidipix <writeonce@midipix.org>2017-02-08 01:19:08 -0500
commit3e55ee4c865e68c28daf9fe0a90346fa5c3446f2 (patch)
tree0f9a805b6497bb828dc7da4fb5ef27a6a0ef862e /include
parentc12a925ddba06fc1d11298fc26c10f2d5ffb91db (diff)
downloadmdso-3e55ee4c865e68c28daf9fe0a90346fa5c3446f2.tar.bz2
mdso-3e55ee4c865e68c28daf9fe0a90346fa5c3446f2.tar.xz
driver: utility api: added mdso_create_implib_objects().
Diffstat (limited to 'include')
-rw-r--r--include/mdso/mdso.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/mdso/mdso.h b/include/mdso/mdso.h
index 6ef0c0a..5822880 100644
--- a/include/mdso/mdso.h
+++ b/include/mdso/mdso.h
@@ -34,6 +34,7 @@ extern "C" {
#define MDSO_DRIVER_DRY_RUN 0x0020
#define MDSO_DRIVER_QUAD_PTR 0x0040
#define MDSO_DRIVER_GENERATE_ASM 0x0100
+#define MDSO_DRIVER_GENERATE_OBJECTS 0x0200
#define MDSO_DRIVER_ANNOTATE_ALWAYS 0x1000
#define MDSO_DRIVER_ANNOTATE_NEVER 0x2000
@@ -51,6 +52,7 @@ enum mdso_custom_error {
MDSO_ERR_NULL_CONTEXT,
MDSO_ERR_NULL_SOURCE,
MDSO_ERR_INVALID_DATA,
+ MDSO_ERR_INVALID_DSTDIR,
MDSO_ERR_INVALID_CONTEXT,
MDSO_ERR_INVALID_SOURCE,
MDSO_ERR_SOURCE_SIZE_ZERO,
@@ -134,10 +136,12 @@ mdso_api int mdso_unmap_input (struct mdso_input *);
/* helper api */
mdso_api FILE*mdso_create_asm_source (const struct mdso_driver_ctx *, const char * asmname);
+mdso_api FILE*mdso_create_object (const struct mdso_driver_ctx *, const char * objname);
/* utility api */
mdso_api int mdso_main (int, char **, char **);
mdso_api int mdso_create_implib_sources(const struct mdso_driver_ctx *);
+mdso_api int mdso_create_implib_objects(const struct mdso_driver_ctx *);
mdso_api int mdso_output_export_symbols(const struct mdso_driver_ctx *, const struct mdso_unit_ctx *, FILE *);
mdso_api int mdso_output_error_record (const struct mdso_driver_ctx *, const struct mdso_error_info *);
mdso_api int mdso_output_error_vector (const struct mdso_driver_ctx *);