Print this page
use thread_local for ntoa buf


1058 # Delete this to compile libc using only the new *at() system call traps
1059 CPPFLAGS += -D_RETAIN_OLD_SYSCALLS
1060 
1061 # proc64_id.o is built with defines in $(SRC)/uts/intel/sys/x86_archext.h
1062 pics/proc64_id.o        := CFLAGS64 += -I$(SRC)/uts/intel
1063 
1064 # Inform the run-time linker about libc specialized initialization
1065 RTLDINFO =      -z rtldinfo=tls_rtldinfo
1066 DYNFLAGS +=     $(RTLDINFO)
1067 
1068 # Force libc's internal references to be resolved immediately upon loading
1069 # in order to avoid critical region problems.  Since almost all libc symbols
1070 # are marked 'protected' in the mapfiles, this is a minimal set (15 to 20).
1071 DYNFLAGS +=     -znow
1072 
1073 BUILD.s=        $(AS) $(ASFLAGS) $< -o $@
1074 
1075 # Override this top level flag so the compiler builds in its native
1076 # C99 mode.  This has been enabled to support the complex arithmetic
1077 # added to libc.
1078 CSTD=   $(CSTD_GNU99)
1079 
1080 # libc method of building an archive
1081 # The "$(GREP) -v ' L '" part is necessary only until
1082 # lorder is fixed to ignore thread-local variables.
1083 BUILD.AR= $(RM) $@ ; \
1084         $(AR) q $@ `$(LORDER) $(MOSTOBJS:%=$(DIR)/%) | $(GREP) -v ' L ' | $(TSORT)`
1085 
1086 # extra files for the clean target
1087 CLEANFILES +=                   \
1088         $(LIBCDIR)/port/gen/errlst.c    \
1089         $(LIBCDIR)/port/gen/new_list.c  \
1090         assym.h                 \
1091         genassym                \
1092         crt/_rtld.s             \
1093         pics/crti.o             \
1094         pics/crtn.o             \
1095         $(ALTPICS)
1096 
1097 CLOBBERFILES += $(LIB_PIC)
1098 




1058 # Delete this to compile libc using only the new *at() system call traps
1059 CPPFLAGS += -D_RETAIN_OLD_SYSCALLS
1060 
1061 # proc64_id.o is built with defines in $(SRC)/uts/intel/sys/x86_archext.h
1062 pics/proc64_id.o        := CFLAGS64 += -I$(SRC)/uts/intel
1063 
1064 # Inform the run-time linker about libc specialized initialization
1065 RTLDINFO =      -z rtldinfo=tls_rtldinfo
1066 DYNFLAGS +=     $(RTLDINFO)
1067 
1068 # Force libc's internal references to be resolved immediately upon loading
1069 # in order to avoid critical region problems.  Since almost all libc symbols
1070 # are marked 'protected' in the mapfiles, this is a minimal set (15 to 20).
1071 DYNFLAGS +=     -znow
1072 
1073 BUILD.s=        $(AS) $(ASFLAGS) $< -o $@
1074 
1075 # Override this top level flag so the compiler builds in its native
1076 # C99 mode.  This has been enabled to support the complex arithmetic
1077 # added to libc.
1078 CSTD=   $(CSTD_GNU11)
1079 
1080 # libc method of building an archive
1081 # The "$(GREP) -v ' L '" part is necessary only until
1082 # lorder is fixed to ignore thread-local variables.
1083 BUILD.AR= $(RM) $@ ; \
1084         $(AR) q $@ `$(LORDER) $(MOSTOBJS:%=$(DIR)/%) | $(GREP) -v ' L ' | $(TSORT)`
1085 
1086 # extra files for the clean target
1087 CLEANFILES +=                   \
1088         $(LIBCDIR)/port/gen/errlst.c    \
1089         $(LIBCDIR)/port/gen/new_list.c  \
1090         assym.h                 \
1091         genassym                \
1092         crt/_rtld.s             \
1093         pics/crti.o             \
1094         pics/crtn.o             \
1095         $(ALTPICS)
1096 
1097 CLOBBERFILES += $(LIB_PIC)
1098