Print this page
11461 should use a native link-editor during the build
11463 SUNWonld has passed its use-by date
11464 cmd/sgs/tools should contain tools, not common code
11465 sgsmsg should be built with the rest of the build tools

@@ -40,14 +40,11 @@
 #include <libelf.h>
 #include <dlfcn.h>
 #include <libld.h>
 #include <sgs.h>
 #include <sgsmsg.h>
-
-#ifndef NATIVE_BUILD
 #include <sys/secflags.h>
-#endif
 
 #ifdef  __cplusplus
 extern "C" {
 #endif
 

@@ -329,18 +326,16 @@
 typedef union {
         Conv_inv_buf_t                  inv_buf;
         char                            buf[CONV_CNOTE_PROC_FLAG_BUFSIZE];
 } Conv_cnote_proc_flag_buf_t;
 
-#ifndef NATIVE_BUILD
 /* conv_prsecflags() */
 #define CONV_PRSECFLAGS_BUFSIZE         57
 typedef union {
         Conv_inv_buf_t                  inv_buf;
         char                            buf[CONV_PRSECFLAGS_BUFSIZE];
 } Conv_secflags_buf_t;
-#endif
 
 /* conv_cnote_sigset() */
 #define CONV_CNOTE_SIGSET_BUFSIZE       639
 typedef union {
         Conv_inv_buf_t                  inv_buf;

@@ -834,14 +829,12 @@
                             Conv_inv_buf_t *);
 extern  const char      *conv_cnote_pr_why(short, Conv_fmt_flags_t,
                             Conv_inv_buf_t *);
 extern  const char      *conv_cnote_priv(int, Conv_fmt_flags_t,
                             Conv_inv_buf_t *);
-#ifndef NATIVE_BUILD
 extern  const char      *conv_prsecflags(secflagset_t, Conv_fmt_flags_t,
                             Conv_secflags_buf_t *);
-#endif
 extern  const char      *conv_cnote_psetid(int, Conv_fmt_flags_t,
                             Conv_inv_buf_t *);
 extern  const char      *conv_cnote_sa_flags(int, Conv_fmt_flags_t,
                             Conv_cnote_sa_flags_buf_t *);
 extern  const char      *conv_cnote_signal(Word, Conv_fmt_flags_t,