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>

@@ -22,10 +22,11 @@
 /*
  *      Copyright (c) 1988 AT&T
  *        All Rights Reserved
  *
  * Copyright (c) 1992, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright 2016 RackTop Systems.
  */
 
 #ifndef _LIBLD_H
 #define _LIBLD_H
 

@@ -463,10 +464,11 @@
 #define FLG_OF_PTCAP    0x080000000000  /* PT_SUNWCAP required */
 #define FLG_OF_CAPSTRS  0x100000000000  /* capability strings are required */
 #define FLG_OF_EHFRAME  0x200000000000  /* output contains .eh_frame section */
 #define FLG_OF_FATWARN  0x400000000000  /* make warnings fatal */
 #define FLG_OF_ADEFLIB  0x800000000000  /* no libraries in default path */
+#define FLG_OF_MULINCL  0x1000000000000 /* allow multiple inclusions */
 
 /*
  * In the flags1 arena, establish any options that are applicable to archive
  * extraction first, and associate a mask.  These values are recorded with any
  * archive descriptor so that they may be reset should the archive require a