summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2017-10-25 22:26:30 -0400
committermidipix <writeonce@midipix.org>2017-10-26 01:03:43 -0400
commitfbda3a30a94210a48e797fa9c9dc635f3afaceb9 (patch)
tree8ad8665cdf3154773df1f6dccf0b3f3a422043fe /include
parentb6abc337906e43f92f50e075f49df407946fc6fe (diff)
downloadslibtool-fbda3a30a94210a48e797fa9c9dc635f3afaceb9.tar.bz2
slibtool-fbda3a30a94210a48e797fa9c9dc635f3afaceb9.tar.xz
driver: added --mdso and --implib support.
Diffstat (limited to 'include')
-rw-r--r--include/slibtool/slibtool.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/slibtool/slibtool.h b/include/slibtool/slibtool.h
index 25820be..c320ee9 100644
--- a/include/slibtool/slibtool.h
+++ b/include/slibtool/slibtool.h
@@ -26,6 +26,8 @@ extern "C" {
#define SLBT_ERROR 0x02
/* driver flags */
+#define SLBT_DRIVER_XFLAG(x) ((uint64_t)x << 32)
+
#define SLBT_DRIVER_VERBOSITY_NONE 0x0000
#define SLBT_DRIVER_VERBOSITY_ERRORS 0x0001
#define SLBT_DRIVER_VERBOSITY_STATUS 0x0002
@@ -63,6 +65,9 @@ extern "C" {
#define SLBT_DRIVER_ANNOTATE_NEVER 0x20000000
#define SLBT_DRIVER_ANNOTATE_FULL 0x40000000
+#define SLBT_DRIVER_IMPLIB_IDATA SLBT_DRIVER_XFLAG(0x0001)
+#define SLBT_DRIVER_IMPLIB_DSOMETA SLBT_DRIVER_XFLAG(0x0002)
+
/* error flags */
#define SLBT_ERROR_TOP_LEVEL 0x0001
#define SLBT_ERROR_NESTED 0x0002
@@ -189,6 +194,7 @@ struct slbt_host_params {
const char * ar;
const char * ranlib;
const char * dlltool;
+ const char * mdso;
const char * ldrpath;
};