summaryrefslogtreecommitdiffstats
path: root/winsup/mingw/crt1.c
Commit message (Collapse)AuthorAgeFilesLines
* * crt1.c: (__mingw_CRTStartup): Change return to void. AddDanny Smith2004-08-241-18/+13
| | | | | | | noreturn attribute. Align stack to 16 bytes before passing args to main. (mainCRTStartup): Change return to void. (WinMainCRTStartup): Likewise.
* * CONTRIBUTORS: New file.Earnie Boyd2004-04-201-20/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * DISCLAIMER: Ditto. * CRT_noglob.c: Reword copyright and disclaimer. Move Contributors section CONTRIBUTORS file. Remove RCS tags. * CRTFmode.c: Ditto. * CRTglob.c: Ditto. * CRTinit.c: Ditto. * crt1.c: Ditto. * crtdll.dev: Ditto. * dllcrt1.c: Ditto. * dllmain.c: Ditto. * gccmain.c: Ditto. * init.c: Ditto. * isascii.c: Ditto. * iscsym.c: Ditto. * iscsymf.c: Ditto. * jamfile: Ditto. * main.c: Ditto. * msvcrt.def.in: Ditto. * strcasecmp.c: Ditto. * toascii.c: Ditto. * wcscmpi.c: Ditto. * include/assert.h: Ditto. * include/conio.h: Ditto. * include/ctype.h: Ditto. * include/direct.h: Ditto. * include/dirent.h: Ditto. * include/dos.h: Ditto. * include/errno.h: Ditto. * include/excpt.h: Ditto. * include/fcntl.h: Ditto. * include/float.h: Ditto. * include/io.h: Ditto. * include/locale.h: Ditto. * include/malloc.h: Ditto. * include/math.h: Ditto. * include/process.h: Ditto. * include/setjmp.h: Ditto. * include/share.h: Ditto. * include/signal.h: Ditto. * include/stdio.h: Ditto. * include/stdlib.h: Ditto. * include/string.h: Ditto. * include/tchar.h: Ditto. * include/time.h: Ditto. * include/wchar.h: Ditto. * include/sys/locking.h: Ditto. * include/sys/param.h: Ditto. * include/sys/stat.h: Ditto. * include/sys/timeb.h: Ditto. * include/sys/types.h: Ditto. * include/sys/utime.h: Ditto. * mingwex/dirent.c: Ditto.
* * crt1.c (_mingw32_init_fmode): Set *_imp___fmode_dll toDanny Smith2004-04-011-0/+6
| | | | _fmode if not __MSVCRT__.
* 2003-01-01 Danny Smith <dannysmith@users.sourceforge.net>Danny Smith2003-01-011-0/+7
| | | | | | | | | | | | | | | * pseudo-reloc.c (do_pseudo_reloc): Make static. * pseudo-reloc-list.c: New file. * crt1.c (_pei386_runtime_relocator): Declare. (__mingw_CRTStartup): Call it. * dllcrt1.c (_pei386_runtime_relocator): Declare. (DllMainCRTStartup): Call it. * Makefile.in: Add pseudo-reloc.o pseude-reloc-list.o to libmingw32.a. 2003-01-01 Egor Duda <deo@logos-m.ru> * pseudo-reloc.c: New file.
* 2002-10-19 Danny Smith <dannysmith@users.sourceforge.net>Danny Smith2002-10-201-3/+12
| | | | | | | | | | | | * crt1.c: Define new macro __IN_MINGW_RUNTIME before including stdlib.h. Comment on reason. Define WIN32_MEAN_AND_LEAN before including windows.h * include/stdlib.h (_fmode): Protect declaration as dllimported variable with __IN_MINGW_RUNTIME. 2002-10-19 Igor Pechtchanski <pechtcha@cs.nyu.edu> * crt1.c: Include stdlib.h.
* * Makefile.in (CRT0S): Add txtmode.o binmode.o.Danny Smith2002-10-191-4/+13
| | | | | | | | | | | | | | (MINGW_OBJS): Add txtmode.o. (SRCDIST_FILES): Add txtmode.c binmode.c. crt1.c: Don't include fcntrl.h, stdlib.h. (_fmode): Declare, without dllimport attribute. (__p__fmode): Declare access function for dll's _fmode. (_mingw32_init_fmode): Sync dll _fmode with staticly linked _fmode for app. * txtmode.c: New file. * binmode.c: New file. * samples/fmode/test2.c: New file. * samples/fmode/jamfile: Add test2.exe target.
* * include/fcntl.h (_fmode): Remove declarations andDanny Smith2002-10-031-1/+1
| | | | | | | | | | | | | | compatibility defines. (_setmode, setmode): Remove prototypes. * include/stdlib (_fmode): Add declarations and compatibility defines. Change type to int. * include/io.h (_setmode, setmode): Add prototypes. * samples/fmode/all.c: Adjust includes. * samples/fmode/test.c: Likewise. * crt1.c (_CRT_fmode): Declare as int. * CRTfmode.c (_CRT_fmode): Likewise. * include/stdlib: Remove comment about MB_CUR_MAX.
* * include/_mingw.h: Increment version to 2.0.Danny Smith2002-06-131-0/+17
| | | | | * Makefile.in: Ditto. Merge in mingwex branch.
* import winsup-2000-02-17 snapshotChristopher Faylor2000-02-171-0/+234