1 # The Microsoft C Runtime source code to which this document refers is available
2 # directly from Microsoft Corporation, under a separate license.
3 # Please ensure that if you are using that source code, you have appropriate
4 # rights to use it. By providing you access to this file, Mozilla Corporation
5 # and its affiliates do not purport to grant any rights in that source code.
6 # Binaries are available under separate licenses at
7 # http://www.microsoft.com/downloads/details.aspx?familyid=200b2fd9-ae1a-4a14-984d-389c36f85647&displaylang=en
8 diff -re crt/src/crt0.c crt-sp1/src/crt0.c
11 * this used to happen in _mtinit, but we need it before malloc
13 _init_pointers(); /* initialize global function pointers */
15 if ( malloc_init_hard() ) /* initialize heap */
18 extern BOOL malloc_init_hard(void);
20 diff -re crt/src/_sample_.rc crt-sp1/src/_sample_.rc
22 VALUE "ProductName", "Mozilla Custom C Runtime"
25 VALUE "OriginalFilename", "MOZCRT19.DLL"
28 VALUE "OriginalFilename", "MOZCRT19D.DLL"
31 VALUE "InternalName", "MOZCRT19.DLL"
34 VALUE "InternalName", "MOZCRT19D.DLL"
37 VALUE "CompanyName", "Mozilla Foundation"
40 diff -re crt/src/crt0dat.c crt-sp1/src/crt0dat.c
43 diff -re crt/src/crtexe.c crt-sp1/src/crtexe.c
45 diff -re crt/src/crtheap.c crt-sp1/src/crtheap.c
47 pv = calloc(count, size);
50 diff -re crt/src/crtlib.c crt-sp1/src/crtlib.c
63 * this used to happen in _mtinit, but we need it before malloc
65 _init_pointers(); /* initialize global function pointers */
67 if ( malloc_init_hard() ) /* initialize heap */
70 extern BOOL malloc_init_hard(void);
71 extern void malloc_shutdown(void);
74 diff -re crt/src/dllcrt0.c crt-sp1/src/dllcrt0.c
80 diff -re crt/src/intel/_sample_.def crt-sp1/src/intel/_sample_.def
99 diff -re crt/src/internal.h crt-sp1/src/internal.h
106 diff -re crt/src/makefile crt-sp1/src/makefile
108 $(DEFFILE_DIR)\$(RETAIL_LIB_NAME).def : $(DEFFILE_DIR)\_sample_.def
113 dll_ :: $(OBJROOT) $(OBJCPUDIR) $(OBJDIR_DLL) $(OBJDIR_DLL)\$(PURE_OBJ_DIR) \
114 $(OBJDIR_DLL)\$(CPP_OBJ_DIR) \
115 $(RELDIR_CPU) $(PDBDIR_CPU_DLL) $(MAKE_DIRS_DLL)
118 CC_OPTS_BASE=-c -nologo -Zlp8 -W3 -GFy -DWIND32
127 LINKLIB=link -lib -nologo
128 LINKIMPLIB=link -lib -nologo
132 RETAIL_DLL_NAME=MOZCRT19
133 RETAIL_LIB_NAME=msvcrt
135 diff -re crt/src/makefile.inc crt-sp1/src/makefile.inc
138 $(OBJDIR)\unhandld.obj: $(PREOBJDIR)\unhandld.obj
139 copy $(PREOBJDIR)\unhandld.obj $@
144 $(OBJDIR)\jemalloc.obj \
151 diff -re crt/src/makefile.sub crt-sp1/src/makefile.sub
153 LIB=link -lib -nologo
156 CFLAGS=$(CFLAGS) -O2 -DMOZ_MEMORY=1 -DMOZ_MEMORY_WINDOWS=1
158 diff -re crt/src/malloc.h crt-sp1/src/malloc.h
173 diff -re crt/src/mlock.c crt-sp1/src/mlock.c
180 diff -re crt/src/new.cpp crt-sp1/src/new.cpp
186 diff -re crt/src/nothrownew.cpp crt-sp1/src/nothrownew.cpp
196 diff -re crt/src/tidtable.c crt-sp1/src/tidtable.c