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>
        
@@ -34,10 +34,14 @@
 LIB_PIC=        libc_pic.a
 VERS=           .1
 CPP=            /usr/lib/cpp
 TARGET_ARCH=    amd64
 
+# include comm page definitions
+include $(SRC)/lib/commpage/Makefile.shared.com
+include $(SRC)/lib/commpage/Makefile.shared.targ
+
 # objects are grouped by source directory
 
 # local objects
 STRETS=
 
@@ -104,10 +108,11 @@
         strtoul.o               \
         strtoll.o               \
         strtoull.o
 
 GENOBJS=                        \
+        $(COMMPAGE_OBJS)        \
         _getsp.o                \
         abs.o                   \
         alloca.o                \
         arc4random.o            \
         arc4random_uniform.o    \
@@ -279,10 +284,11 @@
         writev.o                \
         yield.o
 
 SYSOBJS=                        \
         __clock_gettime.o       \
+        __clock_gettime_sys.o   \
         __getcontext.o          \
         __uadmin.o              \
         _lwp_mutex_unlock.o     \
         _stack_grow.o           \
         door.o                  \
@@ -874,10 +880,11 @@
         execv.o                 \
         eventfd.o               \
         fcntl.o                 \
         getpagesizes.o          \
         getpeerucred.o          \
+        inotify.o               \
         inst_sync.o             \
         issetugid.o             \
         label.o                 \
         link.o                  \
         lockf.o                 \
@@ -1057,11 +1064,11 @@
 # lorder is fixed to ignore thread-local variables.
 BUILD.AR= $(RM) $@ ; \
         $(AR) q $@ `$(LORDER) $(MOSTOBJS:%=$(DIR)/%) | $(GREP) -v ' L ' | $(TSORT)`
 
 # extra files for the clean target
-CLEANFILES=                     \
+CLEANFILES+=                    \
         $(LIBCDIR)/port/gen/errlst.c    \
         $(LIBCDIR)/port/gen/new_list.c  \
         assym.h                 \
         genassym                \
         crt/_rtld.s             \
@@ -1181,10 +1188,12 @@
 $(PORTI18N_COND:%=pics/%) := \
         CPPFLAGS += -D_WCS_LONGLONG
 
 pics/arc4random.o :=    CPPFLAGS += -I$(SRC)/common/crypto/chacha
 
+pics/__clock_gettime.o := CPPFLAGS += $(COMMPAGE_CPPFLAGS)
+
 .KEEP_STATE:
 
 all: $(LIBS) $(LIB_PIC)
 
 lint    :=      CPPFLAGS += -I$(LIBCDIR)/$(MACH)/fp