summaryrefslogtreecommitdiff
path: root/src/internal
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-02-27 09:57:51 +0000
committermidipix <writeonce@midipix.org>2024-02-28 04:02:41 +0000
commitbbf27c0ae5b4cd69e031f7e53bd2456fbc17ab2b (patch)
tree7b98a32494f969a7ee631f0f2e724107aaf8da21 /src/internal
parent503f2f8123c560cab69786935d8ba42e77f8f2c0 (diff)
downloadslibtool-bbf27c0ae5b4cd69e031f7e53bd2456fbc17ab2b.tar.bz2
slibtool-bbf27c0ae5b4cd69e031f7e53bd2456fbc17ab2b.tar.xz
archiver api: added slbt_ar_update_syminfo() (nm output to symbol info vector).
Diffstat (limited to 'src/internal')
-rw-r--r--src/internal/slibtool_ar_impl.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/internal/slibtool_ar_impl.h b/src/internal/slibtool_ar_impl.h
index e5bfca8..8ebf68f 100644
--- a/src/internal/slibtool_ar_impl.h
+++ b/src/internal/slibtool_ar_impl.h
@@ -44,9 +44,12 @@ struct slbt_archive_meta_impl {
const char ** symstrv;
const char ** mapstrv;
off_t * offsetv;
+ struct ar_meta_symbol_info * syminfo;
+ struct ar_meta_symbol_info ** syminfv;
struct ar_meta_member_info ** memberv;
struct ar_meta_member_info * members;
struct ar_armaps_impl armaps;
+ struct slbt_txtfile_ctx * nminfo;
struct slbt_archive_meta armeta;
};
@@ -74,6 +77,10 @@ int slbt_update_mapstrv(
const struct slbt_driver_ctx * dctx,
struct slbt_archive_meta_impl * m);
+int slbt_ar_update_syminfo(
+ struct slbt_archive_ctx * actx,
+ struct slbt_exec_ctx * ectx);
+
static inline struct slbt_archive_meta_impl * slbt_archive_meta_ictx(const struct slbt_archive_meta * meta)
{
uintptr_t addr;