Print this page
10366 ld(1) should support GNU-style linker sets
10581 ld(1) should know kernel modules are a thing

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/sgs/include/sgs.h
          +++ new/usr/src/cmd/sgs/include/sgs.h
↓ open down ↓ 186 lines elided ↑ open up ↑
 187  187                                          /*      required */
 188  188  #define SGS_REJ_STR             10      /* generic error - info is a string */
 189  189  #define SGS_REJ_UNKFILE         11      /* unknown file type */
 190  190  #define SGS_REJ_UNKCAP          12      /* unknown capabilities */
 191  191  #define SGS_REJ_HWCAP_1         13      /* hardware capabilities mismatch */
 192  192  #define SGS_REJ_SFCAP_1         14      /* software capabilities mismatch */
 193  193  #define SGS_REJ_MACHCAP         15      /* machine capability mismatch */
 194  194  #define SGS_REJ_PLATCAP         16      /* platform capability mismatch */
 195  195  #define SGS_REJ_HWCAP_2         17      /* hardware capabilities mismatch */
 196  196  #define SGS_REJ_ARCHIVE         18      /* archive used in invalid context */
 197      -#define SGS_REJ_NUM             19
      197 +#define SGS_REJ_KMOD            19      /* object is a kernel module */
      198 +#define SGS_REJ_NUM             20
 198  199  
 199  200  #define FLG_REJ_ALTER           0x01    /* object name is an alternative */
 200  201  
 201  202  /*
 202  203   * For those source files used both inside and outside of the
 203  204   * libld source base (tools/common/string_table.c) we can
 204  205   * automatically switch between the allocation models
 205  206   * based off of the 'cc -DUSE_LIBLD_MALLOC' flag.
 206  207   */
 207  208  #ifdef  USE_LIBLD_MALLOC
↓ open down ↓ 68 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX