diff options
-rw-r--r-- | include/slibtool/slibtool.h | 1 | ||||
-rw-r--r-- | project/common.mk | 1 | ||||
-rw-r--r-- | src/output/slbt_output_mapfile.c | 12 |
3 files changed, 14 insertions, 0 deletions
diff --git a/include/slibtool/slibtool.h b/include/slibtool/slibtool.h index 38d47a0..fbeaf3e 100644 --- a/include/slibtool/slibtool.h +++ b/include/slibtool/slibtool.h @@ -436,6 +436,7 @@ slbt_api int slbt_output_link (const struct slbt_driver_ctx *, const s slbt_api int slbt_output_uninstall (const struct slbt_driver_ctx *, const struct slbt_exec_ctx *); slbt_api int slbt_output_error_record (const struct slbt_driver_ctx *, const struct slbt_error_info *); slbt_api int slbt_output_error_vector (const struct slbt_driver_ctx *); +slbt_api int slbt_output_mapfile (const struct slbt_symlist_ctx *); /* archiver utility api */ slbt_api int slbt_au_output_arname (const struct slbt_archive_ctx *); diff --git a/project/common.mk b/project/common.mk index fbd81fd..a31536e 100644 --- a/project/common.mk +++ b/project/common.mk @@ -47,6 +47,7 @@ API_SRCS = \ src/output/slbt_output_features.c \ src/output/slbt_output_info.c \ src/output/slbt_output_machine.c \ + src/output/slbt_output_mapfile.c \ src/skin/slbt_skin_ar.c \ src/skin/slbt_skin_default.c \ src/skin/slbt_skin_install.c \ diff --git a/src/output/slbt_output_mapfile.c b/src/output/slbt_output_mapfile.c new file mode 100644 index 0000000..49e50ed --- /dev/null +++ b/src/output/slbt_output_mapfile.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_output_mapfile(const struct slbt_symlist_ctx * sctx) +{ + return slbt_util_create_mapfile(sctx,0,0); +} |