From bbf27c0ae5b4cd69e031f7e53bd2456fbc17ab2b Mon Sep 17 00:00:00 2001 From: midipix Date: Tue, 27 Feb 2024 09:57:51 +0000 Subject: archiver api: added slbt_ar_update_syminfo() (nm output to symbol info vector). --- src/internal/slibtool_ar_impl.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/internal') 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; -- cgit v1.2.3