summaryrefslogtreecommitdiffhomepage
path: root/src/skin
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-02-16 22:48:01 +0000
committermidipix <writeonce@midipix.org>2024-02-16 22:53:36 +0000
commit0b177bee8b822e7291764b8c7c097125218da782 (patch)
tree3077287c7d17686220058cc6879380e405aded2e /src/skin
parent145d2bceaaf622475218abf3a549d2285298fc3c (diff)
downloadslibtool-0b177bee8b822e7291764b8c7c097125218da782.tar.bz2
slibtool-0b177bee8b822e7291764b8c7c097125218da782.tar.xz
ar mode: archive merging: added the -Wmerge command-line action.
Diffstat (limited to 'src/skin')
-rw-r--r--src/skin/slbt_skin_ar.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/skin/slbt_skin_ar.c b/src/skin/slbt_skin_ar.c
index 5108554..d424abe 100644
--- a/src/skin/slbt_skin_ar.c
+++ b/src/skin/slbt_skin_ar.c
@@ -14,6 +14,22 @@ const struct argv_option slbt_ar_options[] = {
"verify that each %s is a valid archive; "
"supported variants are BSD, SysV, and PE/COFF"},
+ {"Wmerge", 0,TAG_AR_MERGE,ARGV_OPTARG_NONE,
+ ARGV_OPTION_HYBRID_ONLY,
+ "[ARCHIVE-FILE]",0,
+ "merge one or more archive files; "
+ "the name of the new archive, which may be the same "
+ "as one of the input archives, shall be specified "
+ "via the -Woutput switch; order of archive members "
+ "shall be retained, and symbol maps shall be "
+ "merged as well as normalized."},
+
+ {"Woutput", 0,TAG_AR_OUTPUT,ARGV_OPTARG_REQUIRED,
+ ARGV_OPTION_HYBRID_ONLY|ARGV_OPTION_HYBRID_SPACE,
+ 0,0,
+ "specify the name of the archive to be created "
+ "(or replaced) as a result of a -Wmerge operation."},
+
{"Wprint", 0,TAG_AR_PRINT,ARGV_OPTARG_OPTIONAL,
ARGV_OPTION_HYBRID_EQUAL|ARGV_OPTION_HYBRID_COMMA,
"members",0,