From fbda3a30a94210a48e797fa9c9dc635f3afaceb9 Mon Sep 17 00:00:00 2001 From: midipix Date: Wed, 25 Oct 2017 22:26:30 -0400 Subject: driver: added --mdso and --implib support. --- include/slibtool/slibtool.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include') 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; }; -- cgit v1.2.3