summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-02-28 08:12:48 +0000
committermidipix <writeonce@midipix.org>2024-02-28 08:14:33 +0000
commitdcf6a5f80a8bf402e0ba8bd61eaae7d06a9e46c6 (patch)
tree1e085e60b502ae12a9b7d3781d84a857f9c83374 /include
parent6f477a3ea989f0562514cbcdc282982018c55879 (diff)
downloadslibtool-dcf6a5f80a8bf402e0ba8bd61eaae7d06a9e46c6.tar.bz2
slibtool-dcf6a5f80a8bf402e0ba8bd61eaae7d06a9e46c6.tar.xz
ar mode: driver: added -Wdlsyms, -Wdlunit.
Diffstat (limited to 'include')
-rw-r--r--include/slibtool/slibtool.h1
-rw-r--r--include/slibtool/slibtool_output.h3
2 files changed, 3 insertions, 1 deletions
diff --git a/include/slibtool/slibtool.h b/include/slibtool/slibtool.h
index e6d5ed5..ffa41c2 100644
--- a/include/slibtool/slibtool.h
+++ b/include/slibtool/slibtool.h
@@ -314,6 +314,7 @@ struct slbt_common_ctx {
char ** cargv;
char ** targv;
char * libname;
+ const char * dlunit;
const char * ccwrap;
const char * target;
const char * output;
diff --git a/include/slibtool/slibtool_output.h b/include/slibtool/slibtool_output.h
index 3320990..263e4d7 100644
--- a/include/slibtool/slibtool_output.h
+++ b/include/slibtool/slibtool_output.h
@@ -11,7 +11,8 @@
#define SLBT_OUTPUT_ARCHIVE_SYMBOLS 0x00000004
#define SLBT_OUTPUT_ARCHIVE_ARMAPS 0x00000008
#define SLBT_OUTPUT_ARCHIVE_MAPFILE 0x00000010
-#define SLBT_OUTPUT_ARCHIVE_NOSORT 0x00000020
+#define SLBT_OUTPUT_ARCHIVE_DLSYMS 0x00000020
+#define SLBT_OUTPUT_ARCHIVE_NOSORT 0x00000040
/* pretty-printer flags */
#define SLBT_PRETTY_YAML SLBT_PRETTY(0x00000001)