summaryrefslogtreecommitdiffhomepage
path: root/src/internal
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-02-17 20:03:00 +0000
committermidipix <writeonce@midipix.org>2024-02-17 20:03:00 +0000
commitdf2627424d9afc77f4c6adf7520b253036a3ae84 (patch)
tree2a5a1243e84931259a8637a52eee3daab1feda8d /src/internal
parent6b3bd56ddd0f33a1a0a4830c638567c24524c07c (diff)
downloadslibtool-df2627424d9afc77f4c6adf7520b253036a3ae84.tar.bz2
slibtool-df2627424d9afc77f4c6adf7520b253036a3ae84.tar.xz
ar mode: pretty printer: symbols, mapfile: produce a sorted output by default.
Diffstat (limited to 'src/internal')
-rw-r--r--src/internal/slibtool_ar_impl.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/internal/slibtool_ar_impl.h b/src/internal/slibtool_ar_impl.h
index c171d26..b034c2b 100644
--- a/src/internal/slibtool_ar_impl.h
+++ b/src/internal/slibtool_ar_impl.h
@@ -41,6 +41,7 @@ struct slbt_archive_meta_impl {
char * namestrs;
const char * symstrs;
const char ** symstrv;
+ const char ** mapstrv;
off_t * offsetv;
struct ar_meta_member_info ** memberv;
struct ar_meta_member_info * members;
@@ -68,6 +69,10 @@ int slbt_ar_parse_primary_armap_sysv_64(
const struct slbt_driver_ctx * dctx,
struct slbt_archive_meta_impl * m);
+int slbt_update_mapstrv(
+ const struct slbt_driver_ctx * dctx,
+ struct slbt_archive_meta_impl * m);
+
static inline struct slbt_archive_meta_impl * slbt_archive_meta_ictx(const struct slbt_archive_meta * meta)
{
uintptr_t addr;