summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/slibtool/slibtool.h2
-rw-r--r--project/common.mk1
-rw-r--r--src/arbits/output/slbt_au_output_dlsyms.c12
3 files changed, 15 insertions, 0 deletions
diff --git a/include/slibtool/slibtool.h b/include/slibtool/slibtool.h
index a11af4e..e6d5ed5 100644
--- a/include/slibtool/slibtool.h
+++ b/include/slibtool/slibtool.h
@@ -489,6 +489,8 @@ slbt_api int slbt_au_output_members (const struct slbt_archive_meta *);
slbt_api int slbt_au_output_symbols (const struct slbt_archive_meta *);
slbt_api int slbt_au_output_mapfile (const struct slbt_archive_meta *);
+slbt_api int slbt_au_output_dlsyms (struct slbt_archive_ctx **, const char *);
+
/* package info */
slbt_api const struct slbt_source_version * slbt_api_source_version(void);
diff --git a/project/common.mk b/project/common.mk
index 97ed871..8499440 100644
--- a/project/common.mk
+++ b/project/common.mk
@@ -13,6 +13,7 @@ API_SRCS = \
src/arbits/slbt_armap_sysv_32.c \
src/arbits/slbt_armap_sysv_64.c \
src/arbits/output/slbt_au_output_arname.c \
+ src/arbits/output/slbt_au_output_dlsyms.c \
src/arbits/output/slbt_au_output_mapfile.c \
src/arbits/output/slbt_au_output_members.c \
src/arbits/output/slbt_au_output_symbols.c \
diff --git a/src/arbits/output/slbt_au_output_dlsyms.c b/src/arbits/output/slbt_au_output_dlsyms.c
new file mode 100644
index 0000000..5963b5d
--- /dev/null
+++ b/src/arbits/output/slbt_au_output_dlsyms.c
@@ -0,0 +1,12 @@
+/*******************************************************************/
+/* slibtool: a skinny libtool implementation, written in C */
+/* Copyright (C) 2016--2024 SysDeer Technologies, LLC */
+/* Released under the Standard MIT License; see COPYING.SLIBTOOL. */
+/*******************************************************************/
+
+#include <slibtool/slibtool.h>
+
+int slbt_au_output_dlsyms(struct slbt_archive_ctx ** arctxv, const char * dlunit)
+{
+ return slbt_ar_create_dlsyms(arctxv,dlunit,0,0);
+}