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>

@@ -25,10 +25,11 @@
  *
  * Copyright (c) 1989, 2010, Oracle and/or its affiliates. All rights reserved.
  */
 /*
  * Copyright (c) 2012, Joyent, Inc.  All rights reserved.
+ * Copyright 2016 RackTop Systems.
  */
 
 /*
  * Publicly available flags are defined in ld(1).   The following flags are
  * private, and may be removed at any time.

@@ -203,10 +204,11 @@
         (void) fprintf(stderr, MSG_INTL(MSG_ARG_DETAIL_ZLAZY));
         (void) fprintf(stderr, MSG_INTL(MSG_ARG_DETAIL_ZLD32));
         (void) fprintf(stderr, MSG_INTL(MSG_ARG_DETAIL_ZLD64));
         (void) fprintf(stderr, MSG_INTL(MSG_ARG_DETAIL_ZLO));
         (void) fprintf(stderr, MSG_INTL(MSG_ARG_DETAIL_ZM));
+        (void) fprintf(stderr, MSG_INTL(MSG_ARG_DETAIL_ZMI));
         (void) fprintf(stderr, MSG_INTL(MSG_ARG_DETAIL_ZNC));
         (void) fprintf(stderr, MSG_INTL(MSG_ARG_DETAIL_ZNDFS));
         (void) fprintf(stderr, MSG_INTL(MSG_ARG_DETAIL_ZNDEF));
         (void) fprintf(stderr, MSG_INTL(MSG_ARG_DETAIL_ZNDEL));
         (void) fprintf(stderr, MSG_INTL(MSG_ARG_DETAIL_ZNDLO));

@@ -1324,10 +1326,13 @@
                                 ofl->ofl_flags |= FLG_OF_NOVERSEC;
                         } else if (strcmp(optarg,
                             MSG_ORIG(MSG_ARG_MULDEFS)) == 0) {
                                 ofl->ofl_flags |= FLG_OF_MULDEFS;
                         } else if (strcmp(optarg,
+                            MSG_ORIG(MSG_ARG_MULINCL)) == 0) {
+                                ofl->ofl_flags |= FLG_OF_MULINCL;
+                        } else if (strcmp(optarg,
                             MSG_ORIG(MSG_ARG_REDLOCSYM)) == 0) {
                                 ofl->ofl_flags |= FLG_OF_REDLSYM;
                         } else if (strcmp(optarg,
                             MSG_ORIG(MSG_ARG_INITFIRST)) == 0) {
                                 ofl->ofl_dtflags_1 |= DF_1_INITFIRST;