summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-02-12 22:31:24 +0000
committermidipix <writeonce@midipix.org>2024-02-12 22:31:24 +0000
commit32c2302764dce9380c427b748bc634825d08a2f7 (patch)
treea88778b1de3cb5b6a35b297819a4c70128474d73 /src
parent4bc3453994e2b3c86d5c8b7c9f2c60dd0287e461 (diff)
downloadslibtool-32c2302764dce9380c427b748bc634825d08a2f7.tar.bz2
slibtool-32c2302764dce9380c427b748bc634825d08a2f7.tar.xz
slbt_merge_archives(): armap: align the string table at a 2-byte boundary.
Diffstat (limited to 'src')
-rw-r--r--src/arbits/slbt_archive_merge.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/arbits/slbt_archive_merge.c b/src/arbits/slbt_archive_merge.c
index 10bbd30..43158cc 100644
--- a/src/arbits/slbt_archive_merge.c
+++ b/src/arbits/slbt_archive_merge.c
@@ -307,6 +307,10 @@ int slbt_merge_archives(
return SLBT_CUSTOM_ERROR(dctx,SLBT_ERR_FLOW_ERROR);
}
+ ssymstrs += 1;
+ ssymstrs |= 1;
+ ssymstrs ^= 1;
+
/* long-names member alignment */
snamestrs += 1;
snamestrs |= 1;