Print this page
OS-5637 lxbrand vdso busts golang stack budget
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Ryan Zezeski <rpz@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Approved by: Jerry Jelinek <jerry.jelinek@joyent.com>
OS-5192 need faster clock_gettime
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
Reviewed by: Ryan Zezeski <ryan@zinascii.com>
OS-3294 add support for inotify
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libc/i386/Makefile.com
          +++ new/usr/src/lib/libc/i386/Makefile.com
↓ open down ↓ 26 lines elided ↑ open up ↑
  27   27  # Copyright 2011 Nexenta Systems, Inc.  All rights reserved.
  28   28  # Use is subject to license terms.
  29   29  #
  30   30  
  31   31  LIBCDIR=        $(SRC)/lib/libc
  32   32  LIB_PIC=        libc_pic.a
  33   33  VERS=           .1
  34   34  CPP=            /usr/lib/cpp
  35   35  TARGET_ARCH=    i386
  36   36  
       37 +# include comm page definitions
       38 +include $(SRC)/lib/commpage/Makefile.shared.com
       39 +include $(SRC)/lib/commpage/Makefile.shared.targ
       40 +
  37   41  VALUES=         values-Xa.o
  38   42  
  39   43  # objects are grouped by source directory
  40   44  
  41   45  # local objects
  42   46  STRETS=
  43   47  
  44   48  CRTOBJS=                        \
  45   49          cerror.o                \
  46   50          cerror64.o
↓ open down ↓ 56 lines elided ↑ open up ↑
 103  107          qsort.o                 \
 104  108          strtol.o                \
 105  109          strtoul.o               \
 106  110          strtoll.o               \
 107  111          strtoull.o
 108  112  
 109  113  DTRACEOBJS=                     \
 110  114          dtrace_data.o
 111  115  
 112  116  GENOBJS=                        \
      117 +        $(COMMPAGE_OBJS)        \
 113  118          _div64.o                \
 114  119          _divdi3.o               \
 115  120          _getsp.o                \
 116  121          _mul64.o                \
 117  122          abs.o                   \
 118  123          alloca.o                \
 119  124          arc4random.o            \
 120  125          arc4random_uniform.o    \
 121  126          byteorder.o             \
 122  127          byteorder64.o           \
↓ open down ↓ 175 lines elided ↑ open up ↑
 298  303          utssys.o                \
 299  304          uucopy.o                \
 300  305          vhangup.o               \
 301  306          waitid.o                \
 302  307          write.o                 \
 303  308          writev.o                \
 304  309          yield.o
 305  310  
 306  311  SYSOBJS=                        \
 307  312          __clock_gettime.o       \
      313 +        __clock_gettime_sys.o   \
 308  314          __getcontext.o          \
 309  315          __uadmin.o              \
 310  316          _lwp_mutex_unlock.o     \
 311  317          _stack_grow.o           \
 312  318          door.o                  \
 313  319          forkx.o                 \
 314  320          forkallx.o              \
 315  321          getcontext.o            \
 316  322          gettimeofday.o          \
 317  323          lwp_private.o           \
↓ open down ↓ 591 lines elided ↑ open up ↑
 909  915          corectl.o               \
 910  916          epoll.o                 \
 911  917          eventfd.o               \
 912  918          exacctsys.o             \
 913  919          execl.o                 \
 914  920          execle.o                \
 915  921          execv.o                 \
 916  922          fcntl.o                 \
 917  923          getpagesizes.o          \
 918  924          getpeerucred.o          \
      925 +        inotify.o               \
 919  926          inst_sync.o             \
 920  927          issetugid.o             \
 921  928          label.o                 \
 922  929          link.o                  \
 923  930          lockf.o                 \
 924  931          lwp.o                   \
 925  932          lwp_cond.o              \
 926  933          lwp_rwlock.o            \
 927  934          lwp_sigmask.o           \
 928  935          meminfosys.o            \
↓ open down ↓ 184 lines elided ↑ open up ↑
1113 1120  # added to libc.
1114 1121  C99MODE=        $(C99_ENABLE)
1115 1122  
1116 1123  # libc method of building an archive
1117 1124  # The "$(GREP) -v ' L '" part is necessary only until
1118 1125  # lorder is fixed to ignore thread-local variables.
1119 1126  BUILD.AR= $(RM) $@ ; \
1120 1127          $(AR) q $@ `$(LORDER) $(MOSTOBJS:%=$(DIR)/%) | $(GREP) -v ' L ' | $(TSORT)`
1121 1128  
1122 1129  # extra files for the clean target
1123      -CLEANFILES=                     \
     1130 +CLEANFILES+=                    \
1124 1131          $(LIBCDIR)/port/gen/errlst.c    \
1125 1132          $(LIBCDIR)/port/gen/new_list.c  \
1126 1133          assym.h                 \
1127 1134          genassym                \
1128 1135          crt/_rtld.s             \
1129 1136          crt/_rtbootld.s         \
1130 1137          pics/_rtbootld.o        \
1131 1138          pics/crti.o             \
1132 1139          pics/crtn.o             \
1133 1140          $(ALTPICS)
↓ open down ↓ 110 lines elided ↑ open up ↑
1244 1251          CPPFLAGS += -D_C89_INTMAX32
1245 1252  
1246 1253  $(PORTSTDIO_C89:%=pics/%) := \
1247 1254          CPPFLAGS += -D_C89_INTMAX32
1248 1255  
1249 1256  $(PORTI18N_COND:%=pics/%) := \
1250 1257          CPPFLAGS += -D_WCS_LONGLONG
1251 1258  
1252 1259  pics/arc4random.o :=    CPPFLAGS += -I$(SRC)/common/crypto/chacha
1253 1260  
     1261 +pics/__clock_gettime.o := CPPFLAGS += $(COMMPAGE_CPPFLAGS)
     1262 +
1254 1263  .KEEP_STATE:
1255 1264  
1256 1265  all: $(LIBS) $(LIB_PIC)
1257 1266  
1258 1267  lint    :=      CPPFLAGS += -I$(LIBCDIR)/$(MACH)/fp
1259 1268  lint    :=      CPPFLAGS += -D_MSE_INT_H -D_LCONV_C99
1260 1269  lint    :=      LINTFLAGS += -mn -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
1261 1270  
1262 1271  lint:
1263 1272          @echo $(LINT.c) ...
↓ open down ↓ 67 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX