Print this page
7319 Need a way to turn off ld "multiple inclusion" warnings
Reviewed by: Martin Bochnig <opensxce@mail.ru>
Reviewed by: Kim Shrier <kshrier@racktopsystems.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>

@@ -23,10 +23,11 @@
 # Copyright (c) 1995, 2010, Oracle and/or its affiliates. All rights reserved.
 #
 
 #
 # Copyright (c) 2012, Joyent, Inc.  All rights reserved.
+# Copyright 2016 RackTop Systems.
 #
 
 @ _START_
 
 # Message file for cmd/sgs/libld.

@@ -204,10 +205,12 @@
 @ MSG_ARG_DETAIL_ZLO    "\t[-z loadfltr]\tmark filter as requiring immediate \
                          loading of its\n\
                          \t\t\tfiltees at runtime\n"
 @ MSG_ARG_DETAIL_ZM     "\t[-z muldefs], [--allow-multiple-definition]\n\
                          \t\t\tallow multiply-defined symbols\n"
+@ MSG_ARG_DETAIL_ZMI    "\t[-z mulincl]\n\
+                         \t\t\tallow multiple inclusions of the same file\n"
 @ MSG_ARG_DETAIL_ZNDFS  "\t[-z nodefs]\tallow undefined symbol references\n"
 @ MSG_ARG_DETAIL_ZNDEF  "\t[-z nodefaultlib]\n\
                          \t\t\tmark object to ignore any default library \
                          search path\n"
 @ MSG_ARG_DETAIL_ZNDEL  "\t[-z nodelete]\tmark object as non-deletable\n"

@@ -1399,10 +1402,11 @@
 @ MSG_ARG_NOVERSION     "noversion"
 @ MSG_ARG_TEXT          "text"
 @ MSG_ARG_TEXTOFF       "textoff"
 @ MSG_ARG_TEXTWARN      "textwarn"
 @ MSG_ARG_MULDEFS       "muldefs"
+@ MSG_ARG_MULINCL       "mulincl"
 @ MSG_ARG_NODELETE      "nodelete"
 @ MSG_ARG_NOINTERP      "nointerp"
 @ MSG_ARG_NOPARTIAL     "nopartial"
 @ MSG_ARG_NORELOC       "noreloc"
 @ MSG_ARG_REDLOCSYM     "redlocsym"