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/amd64/Makefile
          +++ new/usr/src/lib/libc/amd64/Makefile
↓ open down ↓ 28 lines elided ↑ open up ↑
  29   29  #
  30   30  
  31   31  LIBCBASE=       .
  32   32  LIBCDIR=        $(SRC)/lib/libc
  33   33  LIBRARY=        libc.a
  34   34  LIB_PIC=        libc_pic.a
  35   35  VERS=           .1
  36   36  CPP=            /usr/lib/cpp
  37   37  TARGET_ARCH=    amd64
  38   38  
       39 +# include comm page definitions
       40 +include $(SRC)/lib/commpage/Makefile.shared.com
       41 +include $(SRC)/lib/commpage/Makefile.shared.targ
       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  
  47   51  DYNOBJS=
  48   52  
↓ open down ↓ 50 lines elided ↑ open up ↑
  99  103          bcopy.o                 \
 100  104          bsearch.o               \
 101  105          bzero.o                 \
 102  106          qsort.o                 \
 103  107          strtol.o                \
 104  108          strtoul.o               \
 105  109          strtoll.o               \
 106  110          strtoull.o
 107  111  
 108  112  GENOBJS=                        \
      113 +        $(COMMPAGE_OBJS)        \
 109  114          _getsp.o                \
 110  115          abs.o                   \
 111  116          alloca.o                \
 112  117          arc4random.o            \
 113  118          arc4random_uniform.o    \
 114  119          attrat.o                \
 115  120          byteorder.o             \
 116  121          cuexit.o                \
 117  122          ecvt.o                  \
 118  123          endian.o                \
↓ open down ↓ 155 lines elided ↑ open up ↑
 274  279          utssys.o                \
 275  280          uucopy.o                \
 276  281          vhangup.o               \
 277  282          waitid.o                \
 278  283          write.o                 \
 279  284          writev.o                \
 280  285          yield.o
 281  286  
 282  287  SYSOBJS=                        \
 283  288          __clock_gettime.o       \
      289 +        __clock_gettime_sys.o   \
 284  290          __getcontext.o          \
 285  291          __uadmin.o              \
 286  292          _lwp_mutex_unlock.o     \
 287  293          _stack_grow.o           \
 288  294          door.o                  \
 289  295          forkx.o                 \
 290  296          forkallx.o              \
 291  297          getcontext.o            \
 292  298          gettimeofday.o          \
 293  299          lwp_private.o           \
↓ open down ↓ 575 lines elided ↑ open up ↑
 869  875          corectl.o               \
 870  876          epoll.o                 \
 871  877          exacctsys.o             \
 872  878          execl.o                 \
 873  879          execle.o                \
 874  880          execv.o                 \
 875  881          eventfd.o               \
 876  882          fcntl.o                 \
 877  883          getpagesizes.o          \
 878  884          getpeerucred.o          \
      885 +        inotify.o               \
 879  886          inst_sync.o             \
 880  887          issetugid.o             \
 881  888          label.o                 \
 882  889          link.o                  \
 883  890          lockf.o                 \
 884  891          lwp.o                   \
 885  892          lwp_cond.o              \
 886  893          lwp_rwlock.o            \
 887  894          lwp_sigmask.o           \
 888  895          meminfosys.o            \
↓ open down ↓ 163 lines elided ↑ open up ↑
1052 1059  # added to libc.
1053 1060  C99MODE=        $(C99_ENABLE)
1054 1061  
1055 1062  # libc method of building an archive
1056 1063  # The "$(GREP) -v ' L '" part is necessary only until
1057 1064  # lorder is fixed to ignore thread-local variables.
1058 1065  BUILD.AR= $(RM) $@ ; \
1059 1066          $(AR) q $@ `$(LORDER) $(MOSTOBJS:%=$(DIR)/%) | $(GREP) -v ' L ' | $(TSORT)`
1060 1067  
1061 1068  # extra files for the clean target
1062      -CLEANFILES=                     \
     1069 +CLEANFILES+=                    \
1063 1070          $(LIBCDIR)/port/gen/errlst.c    \
1064 1071          $(LIBCDIR)/port/gen/new_list.c  \
1065 1072          assym.h                 \
1066 1073          genassym                \
1067 1074          crt/_rtld.s             \
1068 1075          pics/crti.o             \
1069 1076          pics/crtn.o             \
1070 1077          $(ALTPICS)
1071 1078  
1072 1079  CLOBBERFILES += $(LIB_PIC)
↓ open down ↓ 103 lines elided ↑ open up ↑
1176 1183          CPPFLAGS += -D_C89_INTMAX32
1177 1184  
1178 1185  $(PORTSTDIO_C89:%=pics/%) := \
1179 1186          CPPFLAGS += -D_C89_INTMAX32
1180 1187  
1181 1188  $(PORTI18N_COND:%=pics/%) := \
1182 1189          CPPFLAGS += -D_WCS_LONGLONG
1183 1190  
1184 1191  pics/arc4random.o :=    CPPFLAGS += -I$(SRC)/common/crypto/chacha
1185 1192  
     1193 +pics/__clock_gettime.o := CPPFLAGS += $(COMMPAGE_CPPFLAGS)
     1194 +
1186 1195  .KEEP_STATE:
1187 1196  
1188 1197  all: $(LIBS) $(LIB_PIC)
1189 1198  
1190 1199  lint    :=      CPPFLAGS += -I$(LIBCDIR)/$(MACH)/fp
1191 1200  lint    :=      CPPFLAGS += -D_MSE_INT_H -D_LCONV_C99
1192 1201  lint    :=      LINTFLAGS64 += -mn -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
1193 1202  
1194 1203  lint:
1195 1204          @echo $(LINT.c) ... $(LDLIBS)
↓ open down ↓ 54 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX