You can subscribe to this list here.
2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(16) |
Aug
(203) |
Sep
(142) |
Oct
(113) |
Nov
(73) |
Dec
(27) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2007 |
Jan
(7) |
Feb
(38) |
Mar
(6) |
Apr
(1) |
May
(9) |
Jun
(104) |
Jul
(6) |
Aug
(11) |
Sep
(13) |
Oct
(6) |
Nov
(15) |
Dec
(37) |
2008 |
Jan
(17) |
Feb
(4) |
Mar
(6) |
Apr
(4) |
May
(2) |
Jun
(5) |
Jul
(1) |
Aug
(3) |
Sep
(21) |
Oct
(7) |
Nov
|
Dec
(3) |
2009 |
Jan
(4) |
Feb
(15) |
Mar
|
Apr
(34) |
May
(44) |
Jun
(12) |
Jul
(6) |
Aug
(15) |
Sep
(20) |
Oct
(10) |
Nov
(1) |
Dec
(20) |
2010 |
Jan
(19) |
Feb
(5) |
Mar
(4) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: <dan...@us...> - 2009-10-29 19:51:27
|
Revision: 1399 http://cegcc.svn.sourceforge.net/cegcc/?rev=1399&view=rev Author: dannybackx Date: 2009-10-29 19:51:15 +0000 (Thu, 29 Oct 2009) Log Message: ----------- Apply fix by Pierre Ynard. Modified Paths: -------------- trunk/cegcc/src/mingw/ChangeLog.mingw32ce trunk/cegcc/src/mingw/include/stdlib.h Modified: trunk/cegcc/src/mingw/ChangeLog.mingw32ce =================================================================== --- trunk/cegcc/src/mingw/ChangeLog.mingw32ce 2009-10-25 18:39:01 UTC (rev 1398) +++ trunk/cegcc/src/mingw/ChangeLog.mingw32ce 2009-10-29 19:51:15 UTC (rev 1399) @@ -1,3 +1,9 @@ +2009-10-29 Pierre Ynard <lin...@ya...> + + * include/stdlib.h: Apply the atoll change again, this disappeared + with the latest merge : "Move atoll definition out of __STRICT_ANSI__, + see bug #2821869." + 2009-09-08 Danny Backx <dan...@us...> * configure.in, Makefile.in: Don't build profile directory. Modified: trunk/cegcc/src/mingw/include/stdlib.h =================================================================== --- trunk/cegcc/src/mingw/include/stdlib.h 2009-10-25 18:39:01 UTC (rev 1398) +++ trunk/cegcc/src/mingw/include/stdlib.h 2009-10-29 19:51:15 UTC (rev 1399) @@ -574,10 +574,12 @@ wchar_t* __cdecl __MINGW_NOTHROW lltow (long long, wchar_t *, int); wchar_t* __cdecl __MINGW_NOTHROW ulltow (unsigned long long, wchar_t *, int); +/* C99 addition, this used to be blocked by __STRICT_ANSI__ (see below). */ +__CRT_INLINE long long __cdecl __MINGW_NOTHROW atoll (const char * _c) + { return _atoi64 (_c); } + /* inline using non-ansi functions */ #ifndef __NO_INLINE__ -__CRT_INLINE long long __cdecl __MINGW_NOTHROW atoll (const char * _c) - { return _atoi64 (_c); } __CRT_INLINE char* __cdecl __MINGW_NOTHROW lltoa (long long _n, char * _c, int _i) { return _i64toa (_n, _c, _i); } __CRT_INLINE char* __cdecl __MINGW_NOTHROW ulltoa (unsigned long long _n, char * _c, int _i) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2009-10-25 18:39:07
|
Revision: 1398 http://cegcc.svn.sourceforge.net/cegcc/?rev=1398&view=rev Author: dannybackx Date: 2009-10-25 18:39:01 +0000 (Sun, 25 Oct 2009) Log Message: ----------- Add --disable-werror to the binutils command as Vincent R asked. Modified Paths: -------------- trunk/cegcc/src/scripts/ChangeLog trunk/cegcc/src/scripts/build-cegcc.sh trunk/cegcc/src/scripts/build-mingw32ce.sh trunk/cegcc/src/scripts/build-x86.sh Modified: trunk/cegcc/src/scripts/ChangeLog =================================================================== --- trunk/cegcc/src/scripts/ChangeLog 2009-10-22 19:40:20 UTC (rev 1397) +++ trunk/cegcc/src/scripts/ChangeLog 2009-10-25 18:39:01 UTC (rev 1398) @@ -1,3 +1,8 @@ +2009-10-25 Danny Backx <dan...@us...> + + * build-cegcc.sh, build-mingw32ce.sh, build-x86.sh (build_binutils) : + add --disable-werror . + 2009-08-15 Danny Backx <dan...@us...> * build-cegcc.sh : Disable building libssp. Modified: trunk/cegcc/src/scripts/build-cegcc.sh =================================================================== --- trunk/cegcc/src/scripts/build-cegcc.sh 2009-10-22 19:40:20 UTC (rev 1397) +++ trunk/cegcc/src/scripts/build-cegcc.sh 2009-10-25 18:39:01 UTC (rev 1398) @@ -192,7 +192,8 @@ --prefix=${PREFIX} \ --host=${HOST} \ --target=${TARGET} \ - --disable-nls + --disable-nls \ + --disable-werror make ${PARALLELISM} make install Modified: trunk/cegcc/src/scripts/build-mingw32ce.sh =================================================================== --- trunk/cegcc/src/scripts/build-mingw32ce.sh 2009-10-22 19:40:20 UTC (rev 1397) +++ trunk/cegcc/src/scripts/build-mingw32ce.sh 2009-10-25 18:39:01 UTC (rev 1398) @@ -191,7 +191,8 @@ --prefix=${PREFIX} \ --host=${HOST} \ --target=${TARGET} \ - --disable-nls + --disable-nls \ + --disable-werror make ${PARALLELISM} make install Modified: trunk/cegcc/src/scripts/build-x86.sh =================================================================== --- trunk/cegcc/src/scripts/build-x86.sh 2009-10-22 19:40:20 UTC (rev 1397) +++ trunk/cegcc/src/scripts/build-x86.sh 2009-10-25 18:39:01 UTC (rev 1398) @@ -191,7 +191,8 @@ --prefix=${PREFIX} \ --host=${HOST} \ --target=${TARGET} \ - --disable-nls + --disable-nls \ + --disable-werror make ${PARALLELISM} make install This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2009-10-22 19:40:39
|
Revision: 1397 http://cegcc.svn.sourceforge.net/cegcc/?rev=1397&view=rev Author: dannybackx Date: 2009-10-22 19:40:20 +0000 (Thu, 22 Oct 2009) Log Message: ----------- Define DebugBreak for x86 too, and move it to kfuncs.h as suggested by Ivan. Modified Paths: -------------- trunk/cegcc/src/w32api/ChangeLog.ce trunk/cegcc/src/w32api/include/kfuncs.h trunk/cegcc/src/w32api/include/winbase.h Modified: trunk/cegcc/src/w32api/ChangeLog.ce =================================================================== --- trunk/cegcc/src/w32api/ChangeLog.ce 2009-10-20 18:35:04 UTC (rev 1396) +++ trunk/cegcc/src/w32api/ChangeLog.ce 2009-10-22 19:40:20 UTC (rev 1397) @@ -1,3 +1,9 @@ +2009-10-22 Danny Backx <dan...@us...>, + Ivan Maidanski <iv...@ma...> + + * include/winbase.h, include/kfuncs.h (DebugBreak): Define a function + only when not CE. If CE, define as macros in kfuncs.h for arm and x86. + 2009-09-07 Danny Backx <dan...@us...> * include/shlobj.h (IShellExecuteHookA): Replace UNDER_CE guard by Modified: trunk/cegcc/src/w32api/include/kfuncs.h =================================================================== --- trunk/cegcc/src/w32api/include/kfuncs.h 2009-10-20 18:35:04 UTC (rev 1396) +++ trunk/cegcc/src/w32api/include/kfuncs.h 2009-10-22 19:40:20 UTC (rev 1397) @@ -97,4 +97,15 @@ return (TlsCall(TLS_FUNCFREE, x)); } +/* + * Take the special cases out of winbase.h + */ +#if defined (__arm__) +# define DebugBreak() __asm__( ".word 0xe6000010" ) +#elif defined (__i386__) || defined (__x86_64__) +# define DebugBreak() __asm__( ".byte 0xcc" ) +#else + /* externally supplied for an unsupported architecture */ + extern void DebugBreak(void); #endif +#endif Modified: trunk/cegcc/src/w32api/include/winbase.h =================================================================== --- trunk/cegcc/src/w32api/include/winbase.h 2009-10-20 18:35:04 UTC (rev 1396) +++ trunk/cegcc/src/w32api/include/winbase.h 2009-10-22 19:40:20 UTC (rev 1397) @@ -1359,8 +1359,8 @@ #if (_WIN32_WINNT >= 0x0501) WINBASEAPI BOOL WINAPI DebugActiveProcessStop(DWORD); #endif -#if defined (_WIN32_WCE) && defined (__arm__) -# define DebugBreak() __asm__( ".word 0xe6000010" ) +#if defined (_WIN32_WCE) +/* defined as macro in kfuncs.h */ #else WINBASEAPI void WINAPI DebugBreak(void); #endif This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2009-10-20 18:35:11
|
Revision: 1396 http://cegcc.svn.sourceforge.net/cegcc/?rev=1396&view=rev Author: dannybackx Date: 2009-10-20 18:35:04 +0000 (Tue, 20 Oct 2009) Log Message: ----------- Fix "Can't detect architecture" bug in windres again after binutils 2.20 import. Modified Paths: -------------- trunk/cegcc/src/binutils/ChangeLog.ce trunk/cegcc/src/binutils/binutils/windres.c Modified: trunk/cegcc/src/binutils/ChangeLog.ce =================================================================== --- trunk/cegcc/src/binutils/ChangeLog.ce 2009-10-19 18:08:29 UTC (rev 1395) +++ trunk/cegcc/src/binutils/ChangeLog.ce 2009-10-20 18:35:04 UTC (rev 1396) @@ -1,3 +1,8 @@ +2009-10-20 Danny Backx <dan...@us...> + + * binutils/windres.c : Fix "windres can't detect + architecture" problem again, after binutils 2.20 import. + 2009-04-28 Alan Modra <am...@bi...> * ld/deffilep.y (STACKSIZE_K): Rename from STACKSIZE. Modified: trunk/cegcc/src/binutils/binutils/windres.c =================================================================== --- trunk/cegcc/src/binutils/binutils/windres.c 2009-10-19 18:08:29 UTC (rev 1395) +++ trunk/cegcc/src/binutils/binutils/windres.c 2009-10-20 18:35:04 UTC (rev 1396) @@ -1104,7 +1104,7 @@ if (!find_arch_match (tname, arches)) { char *new_tname = (char *) alloca (strlen (hyp) + 1); - strcpy (new_tname, hyp + 1); + strcpy (new_tname, hyp); while ((hyp = strrchr (new_tname, '-')) != NULL) { *hyp = 0; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2009-10-19 18:08:41
|
Revision: 1395 http://cegcc.svn.sourceforge.net/cegcc/?rev=1395&view=rev Author: dannybackx Date: 2009-10-19 18:08:29 +0000 (Mon, 19 Oct 2009) Log Message: ----------- One more Added Paths: ----------- trunk/cegcc/src/binutils/binutils/testsuite/binutils-all/CVS/Entries.Log Added: trunk/cegcc/src/binutils/binutils/testsuite/binutils-all/CVS/Entries.Log =================================================================== --- trunk/cegcc/src/binutils/binutils/testsuite/binutils-all/CVS/Entries.Log (rev 0) +++ trunk/cegcc/src/binutils/binutils/testsuite/binutils-all/CVS/Entries.Log 2009-10-19 18:08:29 UTC (rev 1395) @@ -0,0 +1 @@ +A D/bfin//// This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2009-10-19 18:07:42
|
Revision: 1394 http://cegcc.svn.sourceforge.net/cegcc/?rev=1394&view=rev Author: dannybackx Date: 2009-10-19 18:07:32 +0000 (Mon, 19 Oct 2009) Log Message: ----------- More missing files Added Paths: ----------- trunk/cegcc/src/binutils/binutils/testsuite/binutils-all/bfin/ trunk/cegcc/src/binutils/binutils/testsuite/binutils-all/bfin/CVS/ trunk/cegcc/src/binutils/binutils/testsuite/binutils-all/bfin/CVS/Entries trunk/cegcc/src/binutils/binutils/testsuite/binutils-all/bfin/CVS/Repository trunk/cegcc/src/binutils/binutils/testsuite/binutils-all/bfin/CVS/Root trunk/cegcc/src/binutils/binutils/testsuite/binutils-all/bfin/objdump.exp trunk/cegcc/src/binutils/binutils/testsuite/binutils-all/bfin/unknown-mode.s trunk/cegcc/src/binutils/binutils/testsuite/binutils-all/copy-4.d trunk/cegcc/src/binutils/binutils/testsuite/binutils-all/strip-10.d trunk/cegcc/src/binutils/binutils/testsuite/binutils-all/testranges-ia64.d trunk/cegcc/src/binutils/binutils/testsuite/binutils-all/testranges-ia64.s trunk/cegcc/src/binutils/binutils/testsuite/binutils-all/testranges.d trunk/cegcc/src/binutils/binutils/testsuite/binutils-all/testranges.s trunk/cegcc/src/binutils/binutils/testsuite/binutils-all/unique.s Added: trunk/cegcc/src/binutils/binutils/testsuite/binutils-all/bfin/CVS/Entries =================================================================== --- trunk/cegcc/src/binutils/binutils/testsuite/binutils-all/bfin/CVS/Entries (rev 0) +++ trunk/cegcc/src/binutils/binutils/testsuite/binutils-all/bfin/CVS/Entries 2009-10-19 18:07:32 UTC (rev 1394) @@ -0,0 +1,3 @@ +/objdump.exp/1.1/Wed Sep 2 09:35:12 2009// +/unknown-mode.s/1.1/Wed Sep 2 09:35:12 2009// +D Added: trunk/cegcc/src/binutils/binutils/testsuite/binutils-all/bfin/CVS/Repository =================================================================== --- trunk/cegcc/src/binutils/binutils/testsuite/binutils-all/bfin/CVS/Repository (rev 0) +++ trunk/cegcc/src/binutils/binutils/testsuite/binutils-all/bfin/CVS/Repository 2009-10-19 18:07:32 UTC (rev 1394) @@ -0,0 +1 @@ +src/binutils/testsuite/binutils-all/bfin Added: trunk/cegcc/src/binutils/binutils/testsuite/binutils-all/bfin/CVS/Root =================================================================== --- trunk/cegcc/src/binutils/binutils/testsuite/binutils-all/bfin/CVS/Root (rev 0) +++ trunk/cegcc/src/binutils/binutils/testsuite/binutils-all/bfin/CVS/Root 2009-10-19 18:07:32 UTC (rev 1394) @@ -0,0 +1 @@ +:pserver:an...@so...:/cvs/src Added: trunk/cegcc/src/binutils/binutils/testsuite/binutils-all/bfin/objdump.exp =================================================================== --- trunk/cegcc/src/binutils/binutils/testsuite/binutils-all/bfin/objdump.exp (rev 0) +++ trunk/cegcc/src/binutils/binutils/testsuite/binutils-all/bfin/objdump.exp 2009-10-19 18:07:32 UTC (rev 1394) @@ -0,0 +1,53 @@ +# Copyright 2009 +# Free Software Foundation, Inc. + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. + +if {![istarget "bfin-*-*"]} then { + return +} + +if {[which $OBJDUMP] == 0} then { + perror "$OBJDUMP does not exist" + return +} + +send_user "Version [binutil_version $OBJDUMP]" + +################################### +# Set up the test of unknown-mode.s +################################### + +if {![binutils_assemble $srcdir/$subdir/unknown-mode.s tmpdir/unknown-mode.o]} then { + return +} + +if [is_remote host] { + set objfile [remote_download host tmpdir/unknown-mode.o] +} else { + set objfile tmpdir/unknown-mode.o +} + +# Make sure that the unknown mode does not cause abort. + +set got [binutils_run $OBJDUMP "$OBJDUMPFLAGS -D $objfile"] + +set want "e1 c1\[ \t\]*ILLEGAL.*34 98 .*\[\r\n\]" + +if [regexp $want $got] then { + pass "unknown mode test" +} else { + fail "unknown mode test" +} Added: trunk/cegcc/src/binutils/binutils/testsuite/binutils-all/bfin/unknown-mode.s =================================================================== --- trunk/cegcc/src/binutils/binutils/testsuite/binutils-all/bfin/unknown-mode.s (rev 0) +++ trunk/cegcc/src/binutils/binutils/testsuite/binutils-all/bfin/unknown-mode.s 2009-10-19 18:07:32 UTC (rev 1394) @@ -0,0 +1,8 @@ + .text + + // Below 4 bytes are "A1 += R6.H * R4.L (IS);" + // with a invalid mode "0xf". + .byte 0xe1 + .byte 0xc1 + .byte 0x34 + .byte 0x98 Added: trunk/cegcc/src/binutils/binutils/testsuite/binutils-all/copy-4.d =================================================================== --- trunk/cegcc/src/binutils/binutils/testsuite/binutils-all/copy-4.d (rev 0) +++ trunk/cegcc/src/binutils/binutils/testsuite/binutils-all/copy-4.d 2009-10-19 18:07:32 UTC (rev 1394) @@ -0,0 +1,9 @@ +#PROG: strip +#source: bintest.s +#strip: --strip-unneeded +#nm: -n +#name: strip --strip-unneeded on common symbol + +#... +0+04 C common_symbol +#pass Added: trunk/cegcc/src/binutils/binutils/testsuite/binutils-all/strip-10.d =================================================================== --- trunk/cegcc/src/binutils/binutils/testsuite/binutils-all/strip-10.d (rev 0) +++ trunk/cegcc/src/binutils/binutils/testsuite/binutils-all/strip-10.d 2009-10-19 18:07:32 UTC (rev 1394) @@ -0,0 +1,8 @@ +#PROG: strip +#source: unique.s +#strip: -g +#readelf: -s +#name: strip on STB_GNU_UNIQUE + +#... + +[0-9]+: +[0-9a-f]+ +[0-9]+ +OBJECT +(UNIQUE|<OS specific>: 10) +DEFAULT +[1-9] foo Added: trunk/cegcc/src/binutils/binutils/testsuite/binutils-all/testranges-ia64.d =================================================================== --- trunk/cegcc/src/binutils/binutils/testsuite/binutils-all/testranges-ia64.d (rev 0) +++ trunk/cegcc/src/binutils/binutils/testsuite/binutils-all/testranges-ia64.d 2009-10-19 18:07:32 UTC (rev 1394) @@ -0,0 +1,15 @@ +#PROG: objcopy +#source: testranges-ia64.s +#readelf: -wR --wide +#name: unordered .debug_info references to .debug_ranges +#target: ia64-*-* + +Contents of the .debug_ranges section: + + Offset Begin End + 00000000 00000001 00000002 + 00000000 <End of list> + 00000010 00000000 00000002 + 00000010 <End of list> + +#pass Added: trunk/cegcc/src/binutils/binutils/testsuite/binutils-all/testranges-ia64.s =================================================================== --- trunk/cegcc/src/binutils/binutils/testsuite/binutils-all/testranges-ia64.s (rev 0) +++ trunk/cegcc/src/binutils/binutils/testsuite/binutils-all/testranges-ia64.s 2009-10-19 18:07:32 UTC (rev 1394) @@ -0,0 +1,57 @@ +# Test .debug_info can reference .debug_ranges entries without ordering the +# offsets strictly as increasing. + + .text +start: + .byte 1 +sub: + .byte 2 +end: + + .section .debug_ranges,"",@progbits +range: + +range_sub: + data4.ua @secrel(sub), @secrel(end) + data4.ua 0, 0 /* range terminator */ + +range_cu: + data4.ua @secrel(start), @secrel(end) + data4.ua 0, 0 /* range terminator */ + + .section .debug_info,"",@progbits + data4.ua debugE - debugS /* Length of Compilation Unit Info */ +debugS: + .short 0x2 /* DWARF version number */ + data4.ua @secrel(abbrev0) /* Offset Into Abbrev. Section */ + .byte 0x4 /* Pointer Size (in bytes) */ + + .uleb128 0x1 /* (DIE (0xb) DW_TAG_compile_unit) */ + data4.ua range_cu - range /* DW_AT_ranges */ + + .uleb128 0x2 /* (DIE (0x6d) DW_TAG_subprogram) */ + .ascii "A\0" /* DW_AT_name */ + data4.ua range_sub - range /* DW_AT_ranges */ +debugE: + + .section .debug_abbrev,"",@progbits +abbrev0: + .uleb128 0x1 /* (abbrev code) */ + .uleb128 0x11 /* (TAG: DW_TAG_compile_unit) */ + .byte 0x0 /* DW_children_no */ + .uleb128 0x55 /* (DW_AT_ranges) */ + .uleb128 0x6 /* (DW_FORM_data4) */ + .byte 0x0 + .byte 0x0 + + .uleb128 0x2 /* (abbrev code) */ + .uleb128 0x2e /* (TAG: DW_TAG_subprogram) */ + .byte 0x0 /* DW_children_no */ + .uleb128 0x3 /* (DW_AT_name) */ + .uleb128 0x8 /* (DW_FORM_string) */ + .uleb128 0x55 /* (DW_AT_ranges) */ + .uleb128 0x6 /* (DW_FORM_data4) */ + .byte 0x0 + .byte 0x0 + + .byte 0x0 /* abbrevs terminator */ Added: trunk/cegcc/src/binutils/binutils/testsuite/binutils-all/testranges.d =================================================================== --- trunk/cegcc/src/binutils/binutils/testsuite/binutils-all/testranges.d (rev 0) +++ trunk/cegcc/src/binutils/binutils/testsuite/binutils-all/testranges.d 2009-10-19 18:07:32 UTC (rev 1394) @@ -0,0 +1,15 @@ +#PROG: objcopy +#source: testranges.s +#readelf: -wR --wide +#name: unordered .debug_info references to .debug_ranges +#not-target: ia64-*-* + +Contents of the .debug_ranges section: + + Offset Begin End + 00000000 00000001 00000002 + 00000000 <End of list> + 00000010 00000000 00000002 + 00000010 <End of list> + +#pass Added: trunk/cegcc/src/binutils/binutils/testsuite/binutils-all/testranges.s =================================================================== --- trunk/cegcc/src/binutils/binutils/testsuite/binutils-all/testranges.s (rev 0) +++ trunk/cegcc/src/binutils/binutils/testsuite/binutils-all/testranges.s 2009-10-19 18:07:32 UTC (rev 1394) @@ -0,0 +1,61 @@ +# Test .debug_info can reference .debug_ranges entries without ordering the +# offsets strictly as increasing. + + .text +start: + .byte 1 +sub: + .byte 2 +end: + + .section .debug_ranges,"",%progbits +range: + +range_sub: + .4byte sub, end + .4byte 0, 0 ;# range terminator + +range_cu: + .4byte start, end + .4byte 0, 0 ;# range terminator + + .section .debug_info,"",%progbits + .4byte debugE - debugS ;# Length of Compilation Unit Info +debugS: + .short 0x2 ;# DWARF version number + .4byte abbrev0 ;# Offset Into Abbrev. Section + .byte 0x4 ;# Pointer Size (in bytes) + + .uleb128 0x1 ;# (DIE (0xb) DW_TAG_compile_unit) + .4byte range_cu - range ;# DW_AT_ranges + + .uleb128 0x2 ;# (DIE (0x6d) DW_TAG_subprogram) + .ascii "A\0" ;# DW_AT_name + .4byte range_sub - range ;# DW_AT_ranges + + ;# minimal section alignment on alpha-* is 2, ensure no new invalid CU + ;# will be started. + .balign 2 +debugE: + + .section .debug_abbrev,"",%progbits +abbrev0: + .uleb128 0x1 ;# (abbrev code) + .uleb128 0x11 ;# (TAG: DW_TAG_compile_unit) + .byte 0x0 ;# DW_children_no + .uleb128 0x55 ;# (DW_AT_ranges) + .uleb128 0x6 ;# (DW_FORM_data4) + .byte 0x0 + .byte 0x0 + + .uleb128 0x2 ;# (abbrev code) + .uleb128 0x2e ;# (TAG: DW_TAG_subprogram) + .byte 0x0 ;# DW_children_no + .uleb128 0x3 ;# (DW_AT_name) + .uleb128 0x8 ;# (DW_FORM_string) + .uleb128 0x55 ;# (DW_AT_ranges) + .uleb128 0x6 ;# (DW_FORM_data4) + .byte 0x0 + .byte 0x0 + + .byte 0x0 ;# abbrevs terminator Added: trunk/cegcc/src/binutils/binutils/testsuite/binutils-all/unique.s =================================================================== --- trunk/cegcc/src/binutils/binutils/testsuite/binutils-all/unique.s (rev 0) +++ trunk/cegcc/src/binutils/binutils/testsuite/binutils-all/unique.s 2009-10-19 18:07:32 UTC (rev 1394) @@ -0,0 +1,4 @@ + .data + .type foo,%gnu_unique_object +foo: + .byte 0 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2009-10-19 18:05:11
|
Revision: 1392 http://cegcc.svn.sourceforge.net/cegcc/?rev=1392&view=rev Author: dannybackx Date: 2009-10-19 18:05:04 +0000 (Mon, 19 Oct 2009) Log Message: ----------- One more Added Paths: ----------- trunk/cegcc/src/binutils/binutils/makefile.vms Added: trunk/cegcc/src/binutils/binutils/makefile.vms =================================================================== --- trunk/cegcc/src/binutils/binutils/makefile.vms (rev 0) +++ trunk/cegcc/src/binutils/binutils/makefile.vms 2009-10-19 18:05:04 UTC (rev 1392) @@ -0,0 +1,74 @@ +# +# Makefile for binutils under openVMS (Alpha and Vax) +# +# For use with gnu-make for vms +# +# Created by Klaus K"ampf, kk...@rm... +# +# + +ifeq ($(CC),gcc) +DEFS= +CFLAGS=/include=([],[-.include],[-.bfd])$(DEFS) +LIBS=,gnu_cc_library:libgcc/lib,sys$$library:vaxcrtl.olb/lib,gnu_cc_library:crt0.obj +else +DEFS= +OPT=/noopt/debug +CFLAGS=$(OPT)/include=([],"../include",[-.bfd])$(DEFS)\ + /name=(as_is,shortened)\ + /prefix=(all,except=("getopt","optarg","optopt","optind","opterr")) +endif + +LIBBFD = [-.bfd]libbfd.olb/lib +LIBBFD_DEP = [-.bfd]libbfd.olb +LIBIBERTY_DEP = [-.libiberty]libiberty.olb +LIBIBERTY = [-.libiberty]libiberty.olb/lib +OPCODES_DEP = [-.opcodes]libopcodes.olb +OPCODES = [-.opcodes]libopcodes.olb/lib + +DEBUG_OBJS = rddbg.obj,debug.obj,stabs.obj,ieee.obj,rdcoff.obj,dwarf.obj + +BULIBS = bucomm.obj,version.obj,filemode.obj + +ADDL_DEPS = $(BULIBS),$(LIBBFD_DEP),$(LIBIBERTY_DEP) +ADDL_LIBS = $(BULIBS),$(LIBBFD),$(LIBIBERTY) + +SIZEOBJS = $(ADDL_DEPS),size.obj + +STRINGSOBJS = $(ADDL_DEPS),strings.obj + +NMOBJS = $(ADDL_DEPS),nm.obj + +ADDR2LINEOBJS = $(ADDL_DEPS),addr2line.obj + +OBJDUMPOBJS = objdump.obj,prdbg.obj,$(DEBUG_OBJS),$(ADDL_DEPS),$(OPCODES_DEP) + +all: config.h size.exe strings.exe objdump.exe nm.exe addr2line.exe + +size.exe: $(SIZEOBJS) + link/exe=$@ size.obj,$(ADDL_LIBS) + +strings.exe: $(STRINGSOBJS) + link/exe=$@ strings.obj,$(ADDL_LIBS) + +nm.exe: $(NMOBJS) + link/exe=$@ nm.obj,$(ADDL_LIBS) + +addr2line.exe: $(ADDR2LINEOBJS) + link/exe=$@ addr2line.obj,$(ADDL_LIBS) + +objdump.exe: $(OBJDUMPOBJS) + link/exe=$@ objdump.obj,prdbg.obj,$(DEBUG_OBJS),$(ADDL_LIBS),$(LIBBFD),$(OPCODES) + +config.h: + $$ @configure + $(MAKE) -f makefile.vms "CC=$(CC)" + +clean: + $$ purge + $(RM) *.obj; + $(RM) *.exe; + +distclean: clean + $(RM) config.h; + $(RM) makefile.vms; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2009-10-18 06:38:37
|
Revision: 1389 http://cegcc.svn.sourceforge.net/cegcc/?rev=1389&view=rev Author: dannybackx Date: 2009-10-18 06:38:30 +0000 (Sun, 18 Oct 2009) Log Message: ----------- This new file in binutils didn't make it to SVN Added Paths: ----------- trunk/cegcc/src/binutils/libiberty/crc32.c Added: trunk/cegcc/src/binutils/libiberty/crc32.c =================================================================== --- trunk/cegcc/src/binutils/libiberty/crc32.c (rev 0) +++ trunk/cegcc/src/binutils/libiberty/crc32.c 2009-10-18 06:38:30 UTC (rev 1389) @@ -0,0 +1,180 @@ +/* crc32.c + Copyright (C) 2009 Free Software Foundation, Inc. + + This file is part of the libiberty library. + + This file is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + In addition to the permissions in the GNU General Public License, the + Free Software Foundation gives you unlimited permission to link the + compiled version of this file into combinations with other programs, + and to distribute those combinations without any restriction coming + from the use of this file. (The General Public License restrictions + do apply in other respects; for example, they cover modification of + the file, and distribution when not linked into a combined + executable.) + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. +*/ + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#include "libiberty.h" + +/* This table was generated by the following program. This matches + what gdb does. + + #include <stdio.h> + + int + main () + { + int i, j; + unsigned int c; + int table[256]; + + for (i = 0; i < 256; i++) + { + for (c = i << 24, j = 8; j > 0; --j) + c = c & 0x80000000 ? (c << 1) ^ 0x04c11db7 : (c << 1); + table[i] = c; + } + + printf ("static const unsigned int crc32_table[] =\n{\n"); + for (i = 0; i < 256; i += 4) + { + printf (" 0x%08x, 0x%08x, 0x%08x, 0x%08x", + table[i + 0], table[i + 1], table[i + 2], table[i + 3]); + if (i + 4 < 256) + putchar (','); + putchar ('\n'); + } + printf ("};\n"); + return 0; + } + + For more information on CRC, see, e.g., + http://www.ross.net/crc/download/crc_v3.txt. */ + +static const unsigned int crc32_table[] = +{ + 0x00000000, 0x04c11db7, 0x09823b6e, 0x0d4326d9, + 0x130476dc, 0x17c56b6b, 0x1a864db2, 0x1e475005, + 0x2608edb8, 0x22c9f00f, 0x2f8ad6d6, 0x2b4bcb61, + 0x350c9b64, 0x31cd86d3, 0x3c8ea00a, 0x384fbdbd, + 0x4c11db70, 0x48d0c6c7, 0x4593e01e, 0x4152fda9, + 0x5f15adac, 0x5bd4b01b, 0x569796c2, 0x52568b75, + 0x6a1936c8, 0x6ed82b7f, 0x639b0da6, 0x675a1011, + 0x791d4014, 0x7ddc5da3, 0x709f7b7a, 0x745e66cd, + 0x9823b6e0, 0x9ce2ab57, 0x91a18d8e, 0x95609039, + 0x8b27c03c, 0x8fe6dd8b, 0x82a5fb52, 0x8664e6e5, + 0xbe2b5b58, 0xbaea46ef, 0xb7a96036, 0xb3687d81, + 0xad2f2d84, 0xa9ee3033, 0xa4ad16ea, 0xa06c0b5d, + 0xd4326d90, 0xd0f37027, 0xddb056fe, 0xd9714b49, + 0xc7361b4c, 0xc3f706fb, 0xceb42022, 0xca753d95, + 0xf23a8028, 0xf6fb9d9f, 0xfbb8bb46, 0xff79a6f1, + 0xe13ef6f4, 0xe5ffeb43, 0xe8bccd9a, 0xec7dd02d, + 0x34867077, 0x30476dc0, 0x3d044b19, 0x39c556ae, + 0x278206ab, 0x23431b1c, 0x2e003dc5, 0x2ac12072, + 0x128e9dcf, 0x164f8078, 0x1b0ca6a1, 0x1fcdbb16, + 0x018aeb13, 0x054bf6a4, 0x0808d07d, 0x0cc9cdca, + 0x7897ab07, 0x7c56b6b0, 0x71159069, 0x75d48dde, + 0x6b93dddb, 0x6f52c06c, 0x6211e6b5, 0x66d0fb02, + 0x5e9f46bf, 0x5a5e5b08, 0x571d7dd1, 0x53dc6066, + 0x4d9b3063, 0x495a2dd4, 0x44190b0d, 0x40d816ba, + 0xaca5c697, 0xa864db20, 0xa527fdf9, 0xa1e6e04e, + 0xbfa1b04b, 0xbb60adfc, 0xb6238b25, 0xb2e29692, + 0x8aad2b2f, 0x8e6c3698, 0x832f1041, 0x87ee0df6, + 0x99a95df3, 0x9d684044, 0x902b669d, 0x94ea7b2a, + 0xe0b41de7, 0xe4750050, 0xe9362689, 0xedf73b3e, + 0xf3b06b3b, 0xf771768c, 0xfa325055, 0xfef34de2, + 0xc6bcf05f, 0xc27dede8, 0xcf3ecb31, 0xcbffd686, + 0xd5b88683, 0xd1799b34, 0xdc3abded, 0xd8fba05a, + 0x690ce0ee, 0x6dcdfd59, 0x608edb80, 0x644fc637, + 0x7a089632, 0x7ec98b85, 0x738aad5c, 0x774bb0eb, + 0x4f040d56, 0x4bc510e1, 0x46863638, 0x42472b8f, + 0x5c007b8a, 0x58c1663d, 0x558240e4, 0x51435d53, + 0x251d3b9e, 0x21dc2629, 0x2c9f00f0, 0x285e1d47, + 0x36194d42, 0x32d850f5, 0x3f9b762c, 0x3b5a6b9b, + 0x0315d626, 0x07d4cb91, 0x0a97ed48, 0x0e56f0ff, + 0x1011a0fa, 0x14d0bd4d, 0x19939b94, 0x1d528623, + 0xf12f560e, 0xf5ee4bb9, 0xf8ad6d60, 0xfc6c70d7, + 0xe22b20d2, 0xe6ea3d65, 0xeba91bbc, 0xef68060b, + 0xd727bbb6, 0xd3e6a601, 0xdea580d8, 0xda649d6f, + 0xc423cd6a, 0xc0e2d0dd, 0xcda1f604, 0xc960ebb3, + 0xbd3e8d7e, 0xb9ff90c9, 0xb4bcb610, 0xb07daba7, + 0xae3afba2, 0xaafbe615, 0xa7b8c0cc, 0xa379dd7b, + 0x9b3660c6, 0x9ff77d71, 0x92b45ba8, 0x9675461f, + 0x8832161a, 0x8cf30bad, 0x81b02d74, 0x857130c3, + 0x5d8a9099, 0x594b8d2e, 0x5408abf7, 0x50c9b640, + 0x4e8ee645, 0x4a4ffbf2, 0x470cdd2b, 0x43cdc09c, + 0x7b827d21, 0x7f436096, 0x7200464f, 0x76c15bf8, + 0x68860bfd, 0x6c47164a, 0x61043093, 0x65c52d24, + 0x119b4be9, 0x155a565e, 0x18197087, 0x1cd86d30, + 0x029f3d35, 0x065e2082, 0x0b1d065b, 0x0fdc1bec, + 0x3793a651, 0x3352bbe6, 0x3e119d3f, 0x3ad08088, + 0x2497d08d, 0x2056cd3a, 0x2d15ebe3, 0x29d4f654, + 0xc5a92679, 0xc1683bce, 0xcc2b1d17, 0xc8ea00a0, + 0xd6ad50a5, 0xd26c4d12, 0xdf2f6bcb, 0xdbee767c, + 0xe3a1cbc1, 0xe760d676, 0xea23f0af, 0xeee2ed18, + 0xf0a5bd1d, 0xf464a0aa, 0xf9278673, 0xfde69bc4, + 0x89b8fd09, 0x8d79e0be, 0x803ac667, 0x84fbdbd0, + 0x9abc8bd5, 0x9e7d9662, 0x933eb0bb, 0x97ffad0c, + 0xafb010b1, 0xab710d06, 0xa6322bdf, 0xa2f33668, + 0xbcb4666d, 0xb8757bda, 0xb5365d03, 0xb1f740b4 +}; + +/* + +@deftypefn Extension unsigned int crc32 (const unsigned char *@var{buf}, int @var{len}, unsigned int @var{init}) + +Compute the 32-bit CRC of @var{buf} which has length @var{len}. The +starting value is @var{init}; this may be used to compute the CRC of +data split across multiple buffers by passing the return value of each +call as the @var{init} parameter of the next. + +This is intended to match the CRC used by the @command{gdb} remote +protocol for the @samp{qCRC} command. In order to get the same +results as gdb for a block of data, you must pass the first CRC +parameter as @code{0xffffffff}. + +This CRC can be specified as: + + Width : 32 + Poly : 0x04c11db7 + Init : parameter, typically 0xffffffff + RefIn : false + RefOut : false + XorOut : 0 + +This differs from the "standard" CRC-32 algorithm in that the values +are not reflected, and there is no final XOR value. These differences +make it easy to compose the values of multiple blocks. + +@end deftypefn + +*/ + +unsigned int +xcrc32 (const unsigned char *buf, int len, unsigned int init) +{ + unsigned int crc = init; + while (len--) + { + crc = (crc << 8) ^ crc32_table[((crc >> 24) ^ *buf) & 255]; + buf++; + } + return crc; +} Property changes on: trunk/cegcc/src/binutils/libiberty/crc32.c ___________________________________________________________________ Added: svn:eol-style + native This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2009-10-17 10:29:00
|
Revision: 1388 http://cegcc.svn.sourceforge.net/cegcc/?rev=1388&view=rev Author: dannybackx Date: 2009-10-17 10:28:52 +0000 (Sat, 17 Oct 2009) Log Message: ----------- Update this w.r.t. binutils patchlevel Modified Paths: -------------- trunk/cegcc/src/VERSIONS Modified: trunk/cegcc/src/VERSIONS =================================================================== --- trunk/cegcc/src/VERSIONS 2009-10-17 10:28:13 UTC (rev 1387) +++ trunk/cegcc/src/VERSIONS 2009-10-17 10:28:52 UTC (rev 1388) @@ -11,7 +11,7 @@ ftp://sources.redhat.com/pub/newlib/index.html ftp://sources.redhat.com/pub/newlib/newlib-1.14.0.tar.gz -- binutils from cvs, 4 February 2009 +- binutils from CVS, 16 October 2009 (just after binutils 2.20) cvs -d :pserver:an...@so...:/cvs/src ... This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2009-09-20 12:28:58
|
Revision: 1382 http://cegcc.svn.sourceforge.net/cegcc/?rev=1382&view=rev Author: dannybackx Date: 2009-09-20 12:24:35 +0000 (Sun, 20 Sep 2009) Log Message: ----------- Add a second test program (mainly to help debug the problems reported by the xcsoar team). Modified Paths: -------------- trunk/cegcc/tools/dll/Makefile trunk/cegcc/tools/dll/testapi.c Added Paths: ----------- trunk/cegcc/tools/dll/testapi2.c Modified: trunk/cegcc/tools/dll/Makefile =================================================================== --- trunk/cegcc/tools/dll/Makefile 2009-09-08 20:22:25 UTC (rev 1381) +++ trunk/cegcc/tools/dll/Makefile 2009-09-20 12:24:35 UTC (rev 1382) @@ -1,4 +1,5 @@ -ARCH= i386-mingw32ce +ARCH= arm-mingw32ce +#ARCH= i386-mingw32ce CC= ${ARCH}-gcc SRC= ../../src @@ -6,7 +7,7 @@ ADEF= ${SRC}/w32api/libce/aygshell.def CFLAGS= -D_WIN32_WCE=0x0600 -D_WIN32_IE=0x0600 -all:: dllverify.exe testapi.exe +all:: dllverify.exe testapi.exe testapi2.exe dllverify.exe: dllverify.c ${CC} -o $@ $< @@ -14,5 +15,8 @@ testapi.exe: testapi.c ${CC} -o $@ $< +testapi2.exe: testapi2.c + ${CC} -o $@ $< + clean: -rm -f *.o dllverify.exe Modified: trunk/cegcc/tools/dll/testapi.c =================================================================== --- trunk/cegcc/tools/dll/testapi.c 2009-09-08 20:22:25 UTC (rev 1381) +++ trunk/cegcc/tools/dll/testapi.c 2009-09-20 12:24:35 UTC (rev 1382) @@ -1,3 +1,12 @@ +/* + * Test whether a DLL offers one or more APIs mentioned on the command line. + * This version of the program is meant to be used from the command line, + * e.g. via a remote shell connection. + * + * Success or failure are reported via the standard output. + * + * Copyright (c) 2009 by Danny Backx. + */ #include <windows.h> #include <stdio.h> #include <stdlib.h> Added: trunk/cegcc/tools/dll/testapi2.c =================================================================== --- trunk/cegcc/tools/dll/testapi2.c (rev 0) +++ trunk/cegcc/tools/dll/testapi2.c 2009-09-20 12:24:35 UTC (rev 1382) @@ -0,0 +1,81 @@ +/* + * This application can read a file, and test whether the indicated DLL + * implements the APIs described in the file. + * + * The program has been created to work without command line : input is + * read from a file (\temp\testapi.in.txt) and output is written to + * another file (\temp\testapi.out.txt). Errors may be reported via + * dialogs on the Windows CE console. + * + * File format : a single entry on each line. + * First line mentions the name of the dll to be loaded (e.g. coredll). + * All next lines mention the name of a function that the DLL will be + * searched for (e.g. AppendMenuW). + * + * Copyright (c) 2009 by Danny Backx. + */ +#include <windows.h> +#include <stdio.h> +#include <stdlib.h> + +void (WINAPI *fun)(void); + +char *input = "\\temp\\testapi.in.txt", + *output = "\\temp\\testapi.out.txt"; + +int main(int argc, char *argv[]) +{ + int r, count = 0; + HINSTANCE dll; + wchar_t dllname[64], wapi[64]; + char field[64], dllnm[64]; + + FILE *infile = NULL, + *outfile = NULL; + + infile = fopen(input, "r"); + if (infile == NULL) { + MessageBoxW(0, L"Could not open input file", L"Error", 0); + exit(1); + } + + outfile = fopen(output, "w"); + if (outfile == NULL) { + MessageBoxW(0, L"Could not open output file", L"Error", 0); + exit(2); + } + + fscanf(infile, "%s\n", &field); + mbstowcs(dllname, field, 64); + strcpy(dllnm, field); + dll = LoadLibrary(dllname); + if (! dll) { + DWORD e = GetLastError(); + fprintf(outfile, "LoadLibrary(%s) : cannot load DLL -> error %d\n", dllnm, e); + fclose(outfile); + exit(1); + } + fprintf(outfile, "Testapi2 started (%s)\n", field); + + r = fscanf(infile, "%s\n", &field); + while (r != EOF) { + if (count++ > 2000) { + printf("Terminating\n"); + fprintf(outfile, "Terminating\n"); + fclose(outfile); + exit(1); + } + mbstowcs(wapi, field, 64); + *(FARPROC *)&fun = GetProcAddress(dll, wapi); + if (fun) { + fprintf(outfile, "\t%s implements %s (0x%08X)\n", dllnm, field, fun); + } else { + DWORD e = GetLastError(); + fprintf(outfile, "%s doesn't know about %s\n", dllnm, field); + } + r = fscanf(infile, "%s\n", &field); + } + + fclose(outfile); + exit(0); +} Property changes on: trunk/cegcc/tools/dll/testapi2.c ___________________________________________________________________ Added: svn:eol-style + native This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2009-09-08 20:22:35
|
Revision: 1381 http://cegcc.svn.sourceforge.net/cegcc/?rev=1381&view=rev Author: dannybackx Date: 2009-09-08 20:22:25 +0000 (Tue, 08 Sep 2009) Log Message: ----------- Don't build the profile directory. Modified Paths: -------------- trunk/cegcc/src/mingw/ChangeLog.mingw32ce trunk/cegcc/src/mingw/Makefile.in trunk/cegcc/src/mingw/configure trunk/cegcc/src/mingw/configure.in Modified: trunk/cegcc/src/mingw/ChangeLog.mingw32ce =================================================================== --- trunk/cegcc/src/mingw/ChangeLog.mingw32ce 2009-09-08 16:39:33 UTC (rev 1380) +++ trunk/cegcc/src/mingw/ChangeLog.mingw32ce 2009-09-08 20:22:25 UTC (rev 1381) @@ -1,6 +1,11 @@ +2009-09-08 Danny Backx <dan...@us...> + + * configure.in, Makefile.in: Don't build profile directory. + * configure: Regenerate. + 2009-09-07 Danny Backx <dan...@us...> - * coredll.def, coredll6.def : Sync with w32api. + * coredll.def, coredll6.def: Sync with w32api. 2009-09-06 Pedro Alves <ped...@us...> Modified: trunk/cegcc/src/mingw/Makefile.in =================================================================== --- trunk/cegcc/src/mingw/Makefile.in 2009-09-08 16:39:33 UTC (rev 1380) +++ trunk/cegcc/src/mingw/Makefile.in 2009-09-08 20:22:25 UTC (rev 1381) @@ -200,7 +200,7 @@ TARFLAGS = z TARFILEEXT = .tar.gz -SUBDIRS = mingwex profile +SUBDIRS = mingwex # FIXME: Most of these are either redundant, or should be set # directly in the subdirectories' Makefiles, by `configure'. Modified: trunk/cegcc/src/mingw/configure =================================================================== --- trunk/cegcc/src/mingw/configure 2009-09-08 16:39:33 UTC (rev 1380) +++ trunk/cegcc/src/mingw/configure 2009-09-08 20:22:25 UTC (rev 1381) @@ -3904,7 +3904,7 @@ mingw_manpage_transform=${mingw_manpage_transform-'s,x,x,'} -ac_config_files="$ac_config_files Makefile mingwex/Makefile profile/Makefile" +ac_config_files="$ac_config_files Makefile mingwex/Makefile" cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure @@ -4517,7 +4517,6 @@ case $ac_config_target in "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; "mingwex/Makefile") CONFIG_FILES="$CONFIG_FILES mingwex/Makefile" ;; - "profile/Makefile") CONFIG_FILES="$CONFIG_FILES profile/Makefile" ;; *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} Modified: trunk/cegcc/src/mingw/configure.in =================================================================== --- trunk/cegcc/src/mingw/configure.in 2009-09-08 16:39:33 UTC (rev 1380) +++ trunk/cegcc/src/mingw/configure.in 2009-09-08 20:22:25 UTC (rev 1381) @@ -83,7 +83,7 @@ AC_PROG_INSTALL MINGW_AC_MANPAGE_TRANSFORM -AC_CONFIG_FILES([Makefile mingwex/Makefile profile/Makefile]) +AC_CONFIG_FILES([Makefile mingwex/Makefile]) AC_OUTPUT # $RCSfile$: end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: Danny B. <dan...@sc...> - 2009-09-08 16:39:58
|
On Mon, 2009-09-07 at 21:52 +0100, Pedro Alves wrote: > On Monday 07 September 2009 18:27:26, dan...@us... wrote: > > Modified: trunk/cegcc/src/mingw/ChangeLog.mingw32ce > > =================================================================== > > --- trunk/cegcc/src/mingw/ChangeLog.mingw32ce 2009-09-07 17:16:24 UTC (rev 1377) > > +++ trunk/cegcc/src/mingw/ChangeLog.mingw32ce 2009-09-07 17:27:25 UTC (rev 1378) > > @@ -1,3 +1,7 @@ > > +2009-09-07 Danny Backx <dan...@us...> > > + > > + * coredll.def, coredll6.def : Sync with w32api. > > Thanks, but, please stop adding this extra space ^ before the ':'. > I've been through the changelogs before several times fixing those... See > rev 1371 and 1369, and http://www.gnu.org/prep/standards/standards.html#Change-Logs > if you haven't yet. > > > > > +>>>>>>> .r1377 > > ^^^^^^ This should not go in. Oops :-) -- Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info |
From: <dan...@us...> - 2009-09-08 16:39:41
|
Revision: 1380 http://cegcc.svn.sourceforge.net/cegcc/?rev=1380&view=rev Author: dannybackx Date: 2009-09-08 16:39:33 +0000 (Tue, 08 Sep 2009) Log Message: ----------- Fix editing error. Modified Paths: -------------- trunk/cegcc/src/mingw/ChangeLog.mingw32ce Modified: trunk/cegcc/src/mingw/ChangeLog.mingw32ce =================================================================== --- trunk/cegcc/src/mingw/ChangeLog.mingw32ce 2009-09-07 17:28:36 UTC (rev 1379) +++ trunk/cegcc/src/mingw/ChangeLog.mingw32ce 2009-09-08 16:39:33 UTC (rev 1380) @@ -18,7 +18,6 @@ * abort.c (abort): Exit with exit code 1 instead of 0. ->>>>>>> .r1377 2009-09-01 Danny Backx <dan...@us...> * include/tchar.h (_tcsnccpy, _tcsncpy, _tcsclen): Define. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: Pedro A. <alv...@gm...> - 2009-09-07 20:53:08
|
On Monday 07 September 2009 18:27:26, dan...@us... wrote: > Modified: trunk/cegcc/src/mingw/ChangeLog.mingw32ce > =================================================================== > --- trunk/cegcc/src/mingw/ChangeLog.mingw32ce 2009-09-07 17:16:24 UTC (rev 1377) > +++ trunk/cegcc/src/mingw/ChangeLog.mingw32ce 2009-09-07 17:27:25 UTC (rev 1378) > @@ -1,3 +1,7 @@ > +2009-09-07 Danny Backx <dan...@us...> > + > + * coredll.def, coredll6.def : Sync with w32api. Thanks, but, please stop adding this extra space ^ before the ':'. I've been through the changelogs before several times fixing those... See rev 1371 and 1369, and http://www.gnu.org/prep/standards/standards.html#Change-Logs if you haven't yet. > > +>>>>>>> .r1377 ^^^^^^ This should not go in. -- Pedro Alves |
From: <dan...@us...> - 2009-09-07 17:28:44
|
Revision: 1379 http://cegcc.svn.sourceforge.net/cegcc/?rev=1379&view=rev Author: dannybackx Date: 2009-09-07 17:28:36 +0000 (Mon, 07 Sep 2009) Log Message: ----------- Restore alphabetic order Modified Paths: -------------- trunk/cegcc/src/w32api/ChangeLog.ce trunk/cegcc/src/w32api/libce/coredll.def Modified: trunk/cegcc/src/w32api/ChangeLog.ce =================================================================== --- trunk/cegcc/src/w32api/ChangeLog.ce 2009-09-07 17:27:25 UTC (rev 1378) +++ trunk/cegcc/src/w32api/ChangeLog.ce 2009-09-07 17:28:36 UTC (rev 1379) @@ -2,6 +2,7 @@ * include/shlobj.h (IShellExecuteHookA): Replace UNDER_CE guard by _WIN32_WCE. + * libce/coredll.def : Fix alphabetic order. 2009-09-07 Pedro Alves <ped...@us...> Modified: trunk/cegcc/src/w32api/libce/coredll.def =================================================================== --- trunk/cegcc/src/w32api/libce/coredll.def 2009-09-07 17:27:25 UTC (rev 1378) +++ trunk/cegcc/src/w32api/libce/coredll.def 2009-09-07 17:28:36 UTC (rev 1379) @@ -328,8 +328,8 @@ FindFirstFileExW FindFirstFileW FindFirstDevice +FindNextChangeNotification FindNextDevice -FindNextChangeNotification FindNextFileW FindResource FindResourceW This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2009-09-07 17:27:33
|
Revision: 1378 http://cegcc.svn.sourceforge.net/cegcc/?rev=1378&view=rev Author: dannybackx Date: 2009-09-07 17:27:25 +0000 (Mon, 07 Sep 2009) Log Message: ----------- Sync with w32api Modified Paths: -------------- trunk/cegcc/src/mingw/ChangeLog.mingw32ce trunk/cegcc/src/mingw/coredll.def trunk/cegcc/src/mingw/coredll6.def Modified: trunk/cegcc/src/mingw/ChangeLog.mingw32ce =================================================================== --- trunk/cegcc/src/mingw/ChangeLog.mingw32ce 2009-09-07 17:16:24 UTC (rev 1377) +++ trunk/cegcc/src/mingw/ChangeLog.mingw32ce 2009-09-07 17:27:25 UTC (rev 1378) @@ -1,3 +1,7 @@ +2009-09-07 Danny Backx <dan...@us...> + + * coredll.def, coredll6.def : Sync with w32api. + 2009-09-06 Pedro Alves <ped...@us...> Merge from upstream (at 3.16 + patches). @@ -14,6 +18,7 @@ * abort.c (abort): Exit with exit code 1 instead of 0. +>>>>>>> .r1377 2009-09-01 Danny Backx <dan...@us...> * include/tchar.h (_tcsnccpy, _tcsncpy, _tcsclen): Define. Modified: trunk/cegcc/src/mingw/coredll.def =================================================================== --- trunk/cegcc/src/mingw/coredll.def 2009-09-07 17:16:24 UTC (rev 1377) +++ trunk/cegcc/src/mingw/coredll.def 2009-09-07 17:27:25 UTC (rev 1378) @@ -1,5 +1,6 @@ ; PLEASE KEEP THE MINGW/COREDLL.DEF AND W32API/LIBCE/COREDLL.DEF ; FILES IN SYNC. +; this is the mingw/coredll.def file LIBRARY COREDLL EXPORTS @@ -290,6 +291,7 @@ EnumCalendarInfoW EnumClipboardFormats EnumDateFormatsW +EnumDeviceInterfaces EnumDevices EnumDisplayDevices EnumDisplayMonitors @@ -326,7 +328,9 @@ FindFirstChangeNotificationW FindFirstFileExW FindFirstFileW +FindFirstDevice FindNextChangeNotification +FindNextDevice FindNextFileW FindResource FindResourceW @@ -393,6 +397,8 @@ GetDesktopWindow GetDeviceByIndex GetDeviceCaps +GetDeviceInformationByDeviceHandle +GetDeviceInformationByFileHandle GetDeviceKeys GetDevicePower GetDialogBaseUnits Modified: trunk/cegcc/src/mingw/coredll6.def =================================================================== --- trunk/cegcc/src/mingw/coredll6.def 2009-09-07 17:16:24 UTC (rev 1377) +++ trunk/cegcc/src/mingw/coredll6.def 2009-09-07 17:27:25 UTC (rev 1378) @@ -290,6 +290,7 @@ EnumCalendarInfoW EnumClipboardFormats EnumDateFormatsW +EnumDeviceInterfaces EnumDevices EnumDisplayDevices EnumDisplayMonitors @@ -326,7 +327,9 @@ FindFirstChangeNotificationW FindFirstFileExW FindFirstFileW +FindFirstDevice FindNextChangeNotification +FindNextDevice FindNextFileW FindResource FindResourceW @@ -393,6 +396,8 @@ GetDesktopWindow GetDeviceByIndex GetDeviceCaps +GetDeviceInformationByDeviceHandle +GetDeviceInformationByFileHandle GetDeviceKeys GetDevicePower GetDialogBaseUnits This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2009-09-07 17:16:32
|
Revision: 1377 http://cegcc.svn.sourceforge.net/cegcc/?rev=1377&view=rev Author: dannybackx Date: 2009-09-07 17:16:24 +0000 (Mon, 07 Sep 2009) Log Message: ----------- Replace guard as Pedro indicated. Modified Paths: -------------- trunk/cegcc/src/w32api/ChangeLog.ce trunk/cegcc/src/w32api/include/shlobj.h Modified: trunk/cegcc/src/w32api/ChangeLog.ce =================================================================== --- trunk/cegcc/src/w32api/ChangeLog.ce 2009-09-07 17:11:59 UTC (rev 1376) +++ trunk/cegcc/src/w32api/ChangeLog.ce 2009-09-07 17:16:24 UTC (rev 1377) @@ -1,3 +1,8 @@ +2009-09-07 Danny Backx <dan...@us...> + + * include/shlobj.h (IShellExecuteHookA): Replace UNDER_CE guard by + _WIN32_WCE. + 2009-09-07 Pedro Alves <ped...@us...> Merge from upstream. Now at 3.13 + patches. Modified: trunk/cegcc/src/w32api/include/shlobj.h =================================================================== --- trunk/cegcc/src/w32api/include/shlobj.h 2009-09-07 17:11:59 UTC (rev 1376) +++ trunk/cegcc/src/w32api/include/shlobj.h 2009-09-07 17:16:24 UTC (rev 1377) @@ -1262,7 +1262,7 @@ }; #undef INTERFACE -#ifndef UNDER_CE +#ifndef _WIN32_WCE #define INTERFACE IShellExecuteHookA DECLARE_INTERFACE_(IShellExecuteHookA,IUnknown) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2009-09-07 17:12:10
|
Revision: 1376 http://cegcc.svn.sourceforge.net/cegcc/?rev=1376&view=rev Author: dannybackx Date: 2009-09-07 17:11:59 +0000 (Mon, 07 Sep 2009) Log Message: ----------- Update for Ismail's cygwin image Modified Paths: -------------- trunk/cegcc/website/download.html Modified: trunk/cegcc/website/download.html =================================================================== --- trunk/cegcc/website/download.html 2009-09-06 23:45:00 UTC (rev 1375) +++ trunk/cegcc/website/download.html 2009-09-07 17:11:59 UTC (rev 1376) @@ -28,17 +28,17 @@ </tr> <tr> <td>Cygwin</td> - <td>not yet</td> - <td>not yet</td> + <td><a href="http://sourceforge.net/projects/cegcc/files/cegcc/0.59.1/cegcc_mingw32ce_cygwin1.7_r1375.tar.bz2">yes</a></td> <td>?</td> - <td>not yet</td> + <td>?</td> + <td>?</td> </tr> <tr> <td>MacOS X</td> <td>not yet</td> - <td>not yet</td> <td>?</td> - <td>not yet</td> + <td>?</td> + <td>?</td> </tr> <!-- <tr> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ped...@us...> - 2009-09-07 00:50:41
|
Revision: 1375 http://cegcc.svn.sourceforge.net/cegcc/?rev=1375&view=rev Author: pedroalves Date: 2009-09-06 23:45:00 +0000 (Sun, 06 Sep 2009) Log Message: ----------- Merge from upstream. Now at 3.13 + patches. Modified Paths: -------------- trunk/cegcc/src/w32api/CVS/Entries trunk/cegcc/src/w32api/ChangeLog trunk/cegcc/src/w32api/ChangeLog.ce trunk/cegcc/src/w32api/include/CVS/Entries trunk/cegcc/src/w32api/include/ddk/CVS/Entries trunk/cegcc/src/w32api/include/ddk/ntapi.h trunk/cegcc/src/w32api/include/ddk/ntifs.h trunk/cegcc/src/w32api/include/ddk/winddk.h trunk/cegcc/src/w32api/include/shellapi.h trunk/cegcc/src/w32api/include/winioctl.h trunk/cegcc/src/w32api/include/winnls.h trunk/cegcc/src/w32api/include/winnt.h trunk/cegcc/src/w32api/include/wtsapi32.h trunk/cegcc/src/w32api/lib/CVS/Entries trunk/cegcc/src/w32api/lib/comctl32.def trunk/cegcc/src/w32api/lib/gdi32.def trunk/cegcc/src/w32api/lib/msimg32.def trunk/cegcc/src/w32api/lib/ntdll.def trunk/cegcc/src/w32api/lib/shell32.def Modified: trunk/cegcc/src/w32api/CVS/Entries =================================================================== --- trunk/cegcc/src/w32api/CVS/Entries 2009-09-06 23:32:30 UTC (rev 1374) +++ trunk/cegcc/src/w32api/CVS/Entries 2009-09-06 23:45:00 UTC (rev 1375) @@ -5,9 +5,9 @@ /configure/1.6/Result of merge+Sun Feb 4 23:45:14 2007/-ko/ /configure.in/1.6/Result of merge+Sun Feb 4 23:45:14 2007/-ko/ /CONTRIBUTIONS/1.1/Fri Feb 8 14:20:14 2008// -/ChangeLog/1.985/Sat Feb 7 18:25:30 2009/-ko/ /Makefile.in/1.47/Result of merge/-ko/ /README.w32api/1.4/Fri Feb 8 14:20:14 2008// /TODO/1.4/Fri Feb 8 14:20:14 2008/-ko/ /config.guess/1.4/Fri Feb 8 14:20:14 2008/-ko/ /install-sh/1.1.1.1/Fri Feb 8 14:20:14 2008/-ko/ +/ChangeLog/1.995/Sun Sep 6 23:36:02 2009/-ko/ Modified: trunk/cegcc/src/w32api/ChangeLog =================================================================== --- trunk/cegcc/src/w32api/ChangeLog 2009-09-06 23:32:30 UTC (rev 1374) +++ trunk/cegcc/src/w32api/ChangeLog 2009-09-06 23:45:00 UTC (rev 1375) @@ -1,3 +1,84 @@ +2009-08-30 Chris Sutcliffe <ir0...@us...> + + * include/wtsapi32.h (WTSQuerySessionInformationA, + WTSQuerySessionInformationW, WTSQuerySessionInformation, WTSFreeMemory): + Moved to (_WIN32_WINNT >= 0x0500) guard. + (thanks to Pierre Ossman) + +2009-08-09 Andy Koppe <and...@gm...> + + * include/winnls.h (IS_HIGH_SURROGATE, IS_LOW_SURROGATE, + IS_SURROGATE_PAIR): Define. + +2009-07-27 Corinna Vinschen <co...@vi...> + + * include/winnt.h (FILE_SUPPORTS_HARD_LINKS, + FILE_SUPPORTS_EXTENDED_ATTRIBUTES, FILE_SUPPORTS_OPEN_BY_FILE_ID, + FILE_SUPPORTS_USN_JOURNALS): Define. Add comment. + * include/ddk/ntifs.h: Ditto. + (FILE_SEQUENTIAL_WRITE_ONCE, FILE_SUPPORTS_TRANSACTIONS): Define. + +2009-07-21 Corinna Vinschen <co...@vi...> + + * lib/msimg32.def (GetDCBrushColor, GetDCPenColor): Move entry points + from here... + * lib/gdo32.dll: ...to here. + +2009-07-01 Corinna Vinschen <co...@vi...> + + * lib/comctl32.def (StrCSpnA@8, StrCSpnIA@8, StrCSpnW@8, StrChrA@8, + StrChrIA@8, StrChrIW@8, StrChrW@8, StrCmpNA@12, StrCmpNIA@12, + StrCmpNIW@12, StrCmpNW@12, StrRChrA@12, StrRChrIA@12, StrRChrW@12, + StrRStrIA@12, StrRStrIW@12, StrStrA@8, StrStrIA@8, StrStrIW@8, + StrStrW@8, StrToIntA@4, StrToIntW@4): Remove erroneously defined + entry points. + +2009-06-24 Corinna Vinschen <co...@vi...> + + * include/wtsapi32.h (WTSQueryUserToken, WTSEnumerateSessionsW, + WTSEnumerateSessionsA): Add function prototypes. + (struct _WTS_SESSION_INFOW, struct _WTS_SESSION_INFOA): Add typedefs. + (WTS_SESSION_INFO, PWTS_SESSION_INFO, WTSEnumerateSessions): Add + defines dependent on UNICODE setting. + +2009-06-07 Corinna Vinschen <co...@vi...> + + * include/ddk/ntapi.h: Add NtXxx equivalent to ZwXxx where missing + and vice versa. + * include/ddk/ntifs.h: Ditto. + * include/ddk/winddk.h: Ditto. + * lib/ntdll.def (NtPlugPlayControl, NtQueryInstallUILanguage, + ZwPlugPlayControl, ZwQueryInstallUILanguage): Add entry points defined + in header, but missing in lib. Omit NT4-only entry points. + +2009-05-01 Chris Sutcliffe <ir0...@us...> + + * include/shellapi.h (SHIL_LARGE, SHIL_SMALL, SHIL_EXTRALARGE, + SHIL_SYSSMALL, SHIL_JUMBO, SHIL_LAST SHIL_JUMBO, SHGetImageList): Define. + * lib/shell32.def (SHGetImageList): Define. + +2009-02-18 Corinna Vinschen <co...@vi...> + + * winnt.h: Add Vista token security extensions. + (SID_HASH_SIZE): Define. + (TOKEN_MANDATORY_POLICY_OFF, TOKEN_MANDATORY_POLICY_NO_WRITE_UP, + TOKEN_MANDATORY_POLICY_NEW_PROCESS_MIN, + TOKEN_MANDATORY_POLICY_VALID_MASK): Define. + (SID_HASH_ENTRY): Define. + (struct _SID_AND_ATTRIBUTES_HASH): Define. + (struct _TOKEN_LINKED_TOKEN): Define. + (struct _TOKEN_MANDATORY_LABEL): Define. + (struct _TOKEN_MANDATORY_POLICY): Define. + (struct _TOKEN_ELEVATION): Define. + (struct _TOKEN_ACCESS_INFORMATION): Define. + (enum _TOKEN_INFORMATION_CLASS): Conditionally define new Vista token + information enumeration values. + +2009-02-09 Corinna Vinschen <co...@vi...> + + * include/winioctl.h (FSCTL_ALLOW_EXTENDED_DASD_IO): Copy definition + from ddk/ntifs.h. + 2009-02-06 Linton Miller <Lin...@tr...> * include/wtsapi32.h (WTS_CURRENT_SESSION): Fix definition. Modified: trunk/cegcc/src/w32api/ChangeLog.ce =================================================================== --- trunk/cegcc/src/w32api/ChangeLog.ce 2009-09-06 23:32:30 UTC (rev 1374) +++ trunk/cegcc/src/w32api/ChangeLog.ce 2009-09-06 23:45:00 UTC (rev 1375) @@ -1,5 +1,9 @@ 2009-09-07 Pedro Alves <ped...@us...> + Merge from upstream. Now at 3.13 + patches. + +2009-09-07 Pedro Alves <ped...@us...> + * Makefile.in (install-headers): New rule. 2009-08-30 Danny Backx <dan...@us...> Modified: trunk/cegcc/src/w32api/include/CVS/Entries =================================================================== --- trunk/cegcc/src/w32api/include/CVS/Entries 2009-09-06 23:32:30 UTC (rev 1374) +++ trunk/cegcc/src/w32api/include/CVS/Entries 2009-09-06 23:45:00 UTC (rev 1375) @@ -4,7 +4,6 @@ /secext.h/1.3/Wed Apr 12 08:04:42 2006// /tlhelp32.h/1.2/Sat Mar 9 09:04:10 2002// /windows.h/1.17/Tue Jul 25 00:22:20 2006/-ko/ -/winioctl.h/1.15/Mon Feb 7 20:40:32 2005/-ko/ /winsock.h/1.16/Thu Apr 6 12:16:50 2006/-ko/ /winsock2.h/1.29/Sun Jan 29 00:52:36 2006/-ko/ D/GL//// @@ -175,7 +174,6 @@ /security.h/1.3/Fri Feb 8 14:20:11 2008// /servprov.h/1.3/Fri Feb 8 14:20:11 2008// /setupapi.h/1.8/Sat Feb 7 18:25:32 2009// -/shellapi.h/1.20/Result of merge/-ko/ /shldisp.h/1.3/Fri Feb 8 14:20:11 2008// /shlguid.h/1.8/Fri Feb 8 14:20:11 2008/-ko/ /shlobj.h/1.47/Result of merge/-ko/ @@ -214,8 +212,6 @@ /wininet.h/1.15/Fri Feb 8 14:20:11 2008/-ko/ /winldap.h/1.3/Fri Feb 8 14:20:11 2008// /winnetwk.h/1.7/Fri Feb 8 14:20:11 2008/-ko/ -/winnls.h/1.9/Fri Feb 8 14:20:11 2008/-ko/ -/winnt.h/1.126/Result of merge/-ko/ /winperf.h/1.2/Fri Feb 8 14:20:11 2008/-ko/ /winreg.h/1.7/Sat Feb 7 18:25:33 2009/-ko/ /winresrc.h/1.2/Fri Feb 8 14:20:11 2008/-ko/ @@ -229,7 +225,11 @@ /wsahelp.h/1.4/Fri Feb 8 14:20:11 2008// /wsipx.h/1.2/Fri Feb 8 14:20:11 2008// /wsnetbs.h/1.2/Fri Feb 8 14:20:11 2008// -/wtsapi32.h/1.4/Sat Feb 7 04:34:27 2009// /wtypes.h/1.15/Sat Feb 7 18:25:33 2009/-ko/ /xprtdefs.h/1.1/Fri Feb 8 14:20:11 2008// /zmouse.h/1.3/Fri Feb 8 14:20:11 2008/-ko/ +/shellapi.h/1.21/Result of merge+Sun Sep 6 23:36:02 2009/-ko/ +/winioctl.h/1.16/Result of merge/-ko/ +/winnls.h/1.10/Sun Sep 6 23:36:02 2009/-ko/ +/winnt.h/1.128/Result of merge/-ko/ +/wtsapi32.h/1.6/Sun Sep 6 23:36:03 2009// Modified: trunk/cegcc/src/w32api/include/ddk/CVS/Entries =================================================================== --- trunk/cegcc/src/w32api/include/ddk/CVS/Entries 2009-09-06 23:32:30 UTC (rev 1374) +++ trunk/cegcc/src/w32api/include/ddk/CVS/Entries 2009-09-06 23:45:00 UTC (rev 1375) @@ -22,7 +22,6 @@ /netevent.h/1.3/Fri Feb 8 14:20:09 2008// /netpnp.h/1.4/Fri Feb 8 14:20:09 2008// /newdev.h/1.5/Fri Feb 8 14:20:08 2008// -/ntapi.h/1.11/Fri Feb 8 14:20:09 2008// /ntdd8042.h/1.5/Fri Feb 8 14:20:08 2008// /ntddbeep.h/1.4/Fri Feb 8 14:20:09 2008// /ntddcdrm.h/1.5/Fri Feb 8 14:20:09 2008// @@ -42,7 +41,6 @@ /ntddtdi.h/1.4/Fri Feb 8 14:20:08 2008// /ntddvdeo.h/1.4/Fri Feb 8 14:20:09 2008// /ntddvol.h/1.4/Fri Feb 8 14:20:09 2008// -/ntifs.h/1.14/Sat Feb 7 18:25:34 2009// /ntpoapi.h/1.7/Fri Feb 8 14:20:09 2008// /ntstatus.h/1.3/Fri Feb 8 14:20:09 2008// /parallel.h/1.5/Fri Feb 8 14:20:08 2008// @@ -72,9 +70,11 @@ /videoagp.h/1.6/Fri Feb 8 14:20:08 2008// /win2k.h/1.5/Fri Feb 8 14:20:08 2008// /winddi.h/1.7/Fri Feb 8 14:20:09 2008// -/winddk.h/1.32/Sat Feb 7 18:25:34 2009// /winnt4.h/1.8/Fri Feb 8 14:20:09 2008// /winxp.h/1.3/Fri Feb 8 14:20:09 2008// /ws2san.h/1.6/Fri Feb 8 14:20:09 2008// /xfilter.h/1.4/Fri Feb 8 14:20:09 2008// +/ntapi.h/1.12/Sun Sep 6 23:36:03 2009// +/ntifs.h/1.16/Sun Sep 6 23:36:03 2009// +/winddk.h/1.33/Result of merge// D Modified: trunk/cegcc/src/w32api/include/ddk/ntapi.h =================================================================== --- trunk/cegcc/src/w32api/include/ddk/ntapi.h 2009-09-06 23:32:30 UTC (rev 1374) +++ trunk/cegcc/src/w32api/include/ddk/ntapi.h 2009-09-06 23:45:00 UTC (rev 1375) @@ -687,6 +687,14 @@ NTOSAPI NTSTATUS NTAPI +NtSetSystemInformation( + /*IN*/ SYSTEM_INFORMATION_CLASS SystemInformationClass, + /*IN OUT*/ PVOID SystemInformation, + /*IN*/ ULONG SystemInformationLength); + +NTOSAPI +NTSTATUS +NTAPI ZwSetSystemInformation( /*IN*/ SYSTEM_INFORMATION_CLASS SystemInformationClass, /*IN OUT*/ PVOID SystemInformation, @@ -695,6 +703,15 @@ NTOSAPI NTSTATUS NTAPI +NtQuerySystemEnvironmentValue( + /*IN*/ PUNICODE_STRING Name, + /*OUT*/ PVOID Value, + /*IN*/ ULONG ValueLength, + /*OUT*/ PULONG ReturnLength /*OPTIONAL*/); + +NTOSAPI +NTSTATUS +NTAPI ZwQuerySystemEnvironmentValue( /*IN*/ PUNICODE_STRING Name, /*OUT*/ PVOID Value, @@ -704,6 +721,13 @@ NTOSAPI NTSTATUS NTAPI +NtSetSystemEnvironmentValue( + /*IN*/ PUNICODE_STRING Name, + /*IN*/ PUNICODE_STRING Value); + +NTOSAPI +NTSTATUS +NTAPI ZwSetSystemEnvironmentValue( /*IN*/ PUNICODE_STRING Name, /*IN*/ PUNICODE_STRING Value); @@ -720,6 +744,12 @@ NtShutdownSystem( /*IN*/ SHUTDOWN_ACTION Action); +NTOSAPI +NTSTATUS +NTAPI +ZwShutdownSystem( + /*IN*/ SHUTDOWN_ACTION Action); + typedef enum _DEBUG_CONTROL_CODE { DebugGetTraceInformation = 1, DebugSetInternalBreakpoint, @@ -734,6 +764,17 @@ NTOSAPI NTSTATUS NTAPI +NtSystemDebugControl( + /*IN*/ DEBUG_CONTROL_CODE ControlCode, + /*IN*/ PVOID InputBuffer /*OPTIONAL*/, + /*IN*/ ULONG InputBufferLength, + /*OUT*/ PVOID OutputBuffer /*OPTIONAL*/, + /*IN*/ ULONG OutputBufferLength, + /*OUT*/ PULONG ReturnLength /*OPTIONAL*/); + +NTOSAPI +NTSTATUS +NTAPI ZwSystemDebugControl( /*IN*/ DEBUG_CONTROL_CODE ControlCode, /*IN*/ PVOID InputBuffer /*OPTIONAL*/, @@ -757,6 +798,16 @@ NTOSAPI NTSTATUS NTAPI +NtQueryObject( + /*IN*/ HANDLE ObjectHandle, + /*IN*/ OBJECT_INFORMATION_CLASS ObjectInformationClass, + /*OUT*/ PVOID ObjectInformation, + /*IN*/ ULONG ObjectInformationLength, + /*OUT*/ PULONG ReturnLength /*OPTIONAL*/); + +NTOSAPI +NTSTATUS +NTAPI ZwQueryObject( /*IN*/ HANDLE ObjectHandle, /*IN*/ OBJECT_INFORMATION_CLASS ObjectInformationClass, @@ -767,6 +818,15 @@ NTOSAPI NTSTATUS NTAPI +NtSetInformationObject( + /*IN*/ HANDLE ObjectHandle, + /*IN*/ OBJECT_INFORMATION_CLASS ObjectInformationClass, + /*IN*/ PVOID ObjectInformation, + /*IN*/ ULONG ObjectInformationLength); + +NTOSAPI +NTSTATUS +NTAPI ZwSetInformationObject( /*IN*/ HANDLE ObjectHandle, /*IN*/ OBJECT_INFORMATION_CLASS ObjectInformationClass, @@ -887,6 +947,14 @@ NTOSAPI NTSTATUS NTAPI +NtOpenDirectoryObject( + /*OUT*/ PHANDLE DirectoryHandle, + /*IN*/ ACCESS_MASK DesiredAccess, + /*IN*/ POBJECT_ATTRIBUTES ObjectAttributes); + +NTOSAPI +NTSTATUS +NTAPI ZwOpenDirectoryObject( /*OUT*/ PHANDLE DirectoryHandle, /*IN*/ ACCESS_MASK DesiredAccess, @@ -895,6 +963,18 @@ NTOSAPI NTSTATUS NTAPI +NtQueryDirectoryObject( + /*IN*/ HANDLE DirectoryHandle, + /*OUT*/ PVOID Buffer, + /*IN*/ ULONG BufferLength, + /*IN*/ BOOLEAN ReturnSingleEntry, + /*IN*/ BOOLEAN RestartScan, + /*IN OUT*/ PULONG Context, + /*OUT*/ PULONG ReturnLength /*OPTIONAL*/); + +NTOSAPI +NTSTATUS +NTAPI ZwQueryDirectoryObject( /*IN*/ HANDLE DirectoryHandle, /*OUT*/ PVOID Buffer, @@ -912,6 +992,15 @@ NTOSAPI NTSTATUS NTAPI +NtCreateSymbolicLinkObject( + /*OUT*/ PHANDLE SymbolicLinkHandle, + /*IN*/ ACCESS_MASK DesiredAccess, + /*IN*/ POBJECT_ATTRIBUTES ObjectAttributes, + /*IN*/ PUNICODE_STRING TargetName); + +NTOSAPI +NTSTATUS +NTAPI ZwCreateSymbolicLinkObject( /*OUT*/ PHANDLE SymbolicLinkHandle, /*IN*/ ACCESS_MASK DesiredAccess, @@ -973,6 +1062,17 @@ NTOSAPI NTSTATUS NTAPI +NtQueryVirtualMemory( + /*IN*/ HANDLE ProcessHandle, + /*IN*/ PVOID BaseAddress, + /*IN*/ MEMORY_INFORMATION_CLASS MemoryInformationClass, + /*OUT*/ PVOID MemoryInformation, + /*IN*/ ULONG MemoryInformationLength, + /*OUT*/ PULONG ReturnLength /*OPTIONAL*/); + +NTOSAPI +NTSTATUS +NTAPI ZwQueryVirtualMemory( /*IN*/ HANDLE ProcessHandle, /*IN*/ PVOID BaseAddress, @@ -1008,6 +1108,15 @@ NTOSAPI NTSTATUS NTAPI +NtLockVirtualMemory( + /*IN*/ HANDLE ProcessHandle, + /*IN OUT*/ PVOID *BaseAddress, + /*IN OUT*/ PULONG LockSize, + /*IN*/ ULONG LockType); + +NTOSAPI +NTSTATUS +NTAPI ZwLockVirtualMemory( /*IN*/ HANDLE ProcessHandle, /*IN OUT*/ PVOID *BaseAddress, @@ -1017,6 +1126,15 @@ NTOSAPI NTSTATUS NTAPI +NtUnlockVirtualMemory( + /*IN*/ HANDLE ProcessHandle, + /*IN OUT*/ PVOID *BaseAddress, + /*IN OUT*/ PULONG LockSize, + /*IN*/ ULONG LockType); + +NTOSAPI +NTSTATUS +NTAPI ZwUnlockVirtualMemory( /*IN*/ HANDLE ProcessHandle, /*IN OUT*/ PVOID *BaseAddress, @@ -1026,6 +1144,16 @@ NTOSAPI NTSTATUS NTAPI +NtReadVirtualMemory( + /*IN*/ HANDLE ProcessHandle, + /*IN*/ PVOID BaseAddress, + /*OUT*/ PVOID Buffer, + /*IN*/ ULONG BufferLength, + /*OUT*/ PULONG ReturnLength /*OPTIONAL*/); + +NTOSAPI +NTSTATUS +NTAPI ZwReadVirtualMemory( /*IN*/ HANDLE ProcessHandle, /*IN*/ PVOID BaseAddress, @@ -1036,6 +1164,16 @@ NTOSAPI NTSTATUS NTAPI +NtWriteVirtualMemory( + /*IN*/ HANDLE ProcessHandle, + /*IN*/ PVOID BaseAddress, + /*IN*/ PVOID Buffer, + /*IN*/ ULONG BufferLength, + /*OUT*/ PULONG ReturnLength /*OPTIONAL*/); + +NTOSAPI +NTSTATUS +NTAPI ZwWriteVirtualMemory( /*IN*/ HANDLE ProcessHandle, /*IN*/ PVOID BaseAddress, @@ -1046,6 +1184,16 @@ NTOSAPI NTSTATUS NTAPI +NtProtectVirtualMemory( + /*IN*/ HANDLE ProcessHandle, + /*IN OUT*/ PVOID *BaseAddress, + /*IN OUT*/ PULONG ProtectSize, + /*IN*/ ULONG NewProtect, + /*OUT*/ PULONG OldProtect); + +NTOSAPI +NTSTATUS +NTAPI ZwProtectVirtualMemory( /*IN*/ HANDLE ProcessHandle, /*IN OUT*/ PVOID *BaseAddress, @@ -1056,6 +1204,15 @@ NTOSAPI NTSTATUS NTAPI +NtFlushVirtualMemory( + /*IN*/ HANDLE ProcessHandle, + /*IN OUT*/ PVOID *BaseAddress, + /*IN OUT*/ PULONG FlushSize, + /*OUT*/ PIO_STATUS_BLOCK IoStatusBlock); + +NTOSAPI +NTSTATUS +NTAPI ZwFlushVirtualMemory( /*IN*/ HANDLE ProcessHandle, /*IN OUT*/ PVOID *BaseAddress, @@ -1065,6 +1222,14 @@ NTOSAPI NTSTATUS NTAPI +NtAllocateUserPhysicalPages( + /*IN*/ HANDLE ProcessHandle, + /*IN*/ PULONG NumberOfPages, + /*OUT*/ PULONG PageFrameNumbers); + +NTOSAPI +NTSTATUS +NTAPI ZwAllocateUserPhysicalPages( /*IN*/ HANDLE ProcessHandle, /*IN*/ PULONG NumberOfPages, @@ -1073,6 +1238,14 @@ NTOSAPI NTSTATUS NTAPI +NtFreeUserPhysicalPages( + /*IN*/ HANDLE ProcessHandle, + /*IN OUT*/ PULONG NumberOfPages, + /*IN*/ PULONG PageFrameNumbers); + +NTOSAPI +NTSTATUS +NTAPI ZwFreeUserPhysicalPages( /*IN*/ HANDLE ProcessHandle, /*IN OUT*/ PULONG NumberOfPages, @@ -1081,6 +1254,14 @@ NTOSAPI NTSTATUS NTAPI +NtMapUserPhysicalPages( + /*IN*/ PVOID BaseAddress, + /*IN*/ PULONG NumberOfPages, + /*IN*/ PULONG PageFrameNumbers); + +NTOSAPI +NTSTATUS +NTAPI ZwMapUserPhysicalPages( /*IN*/ PVOID BaseAddress, /*IN*/ PULONG NumberOfPages, @@ -1089,6 +1270,14 @@ NTOSAPI NTSTATUS NTAPI +NtMapUserPhysicalPagesScatter( + /*IN*/ PVOID *BaseAddresses, + /*IN*/ PULONG NumberOfPages, + /*IN*/ PULONG PageFrameNumbers); + +NTOSAPI +NTSTATUS +NTAPI ZwMapUserPhysicalPagesScatter( /*IN*/ PVOID *BaseAddresses, /*IN*/ PULONG NumberOfPages, @@ -1097,6 +1286,18 @@ NTOSAPI NTSTATUS NTAPI +NtGetWriteWatch( + /*IN*/ HANDLE ProcessHandle, + /*IN*/ ULONG Flags, + /*IN*/ PVOID BaseAddress, + /*IN*/ ULONG RegionSize, + /*OUT*/ PULONG Buffer, + /*IN OUT*/ PULONG BufferEntries, + /*OUT*/ PULONG Granularity); + +NTOSAPI +NTSTATUS +NTAPI ZwGetWriteWatch( /*IN*/ HANDLE ProcessHandle, /*IN*/ ULONG Flags, @@ -1109,6 +1310,14 @@ NTOSAPI NTSTATUS NTAPI +NtResetWriteWatch( + /*IN*/ HANDLE ProcessHandle, + /*IN*/ PVOID BaseAddress, + /*IN*/ ULONG RegionSize); + +NTOSAPI +NTSTATUS +NTAPI ZwResetWriteWatch( /*IN*/ HANDLE ProcessHandle, /*IN*/ PVOID BaseAddress, @@ -1151,6 +1360,16 @@ NTOSAPI NTSTATUS NTAPI +NtQuerySection( + /*IN*/ HANDLE SectionHandle, + /*IN*/ SECTION_INFORMATION_CLASS SectionInformationClass, + /*OUT*/ PVOID SectionInformation, + /*IN*/ ULONG SectionInformationLength, + /*OUT*/ PULONG ResultLength /*OPTIONAL*/); + +NTOSAPI +NTSTATUS +NTAPI ZwQuerySection( /*IN*/ HANDLE SectionHandle, /*IN*/ SECTION_INFORMATION_CLASS SectionInformationClass, @@ -1161,6 +1380,13 @@ NTOSAPI NTSTATUS NTAPI +NtExtendSection( + /*IN*/ HANDLE SectionHandle, + /*IN*/ PLARGE_INTEGER SectionSize); + +NTOSAPI +NTSTATUS +NTAPI ZwExtendSection( /*IN*/ HANDLE SectionHandle, /*IN*/ PLARGE_INTEGER SectionSize); @@ -1168,6 +1394,13 @@ NTOSAPI NTSTATUS NTAPI +NtAreMappedFilesTheSame( + /*IN*/ PVOID Address1, + /*IN*/ PVOID Address2); + +NTOSAPI +NTSTATUS +NTAPI ZwAreMappedFilesTheSame( /*IN*/ PVOID Address1, /*IN*/ PVOID Address2); @@ -1188,6 +1421,19 @@ NTOSAPI NTSTATUS NTAPI +NtCreateThread( + /*OUT*/ PHANDLE ThreadHandle, + /*IN*/ ACCESS_MASK DesiredAccess, + /*IN*/ POBJECT_ATTRIBUTES ObjectAttributes, + /*IN*/ HANDLE ProcessHandle, + /*OUT*/ PCLIENT_ID ClientId, + /*IN*/ PCONTEXT ThreadContext, + /*IN*/ PUSER_STACK UserStack, + /*IN*/ BOOLEAN CreateSuspended); + +NTOSAPI +NTSTATUS +NTAPI ZwCreateThread( /*OUT*/ PHANDLE ThreadHandle, /*IN*/ ACCESS_MASK DesiredAccess, @@ -1219,6 +1465,13 @@ NTOSAPI NTSTATUS NTAPI +NtTerminateThread( + /*IN*/ HANDLE ThreadHandle /*OPTIONAL*/, + /*IN*/ NTSTATUS ExitStatus); + +NTOSAPI +NTSTATUS +NTAPI ZwTerminateThread( /*IN*/ HANDLE ThreadHandle /*OPTIONAL*/, /*IN*/ NTSTATUS ExitStatus); @@ -1252,6 +1505,15 @@ /*IN*/ PVOID ThreadInformation, /*IN*/ ULONG ThreadInformationLength); +NTOSAPI +NTSTATUS +NTAPI +ZwSetInformationThread( + /*IN*/ HANDLE ThreadHandle, + /*IN*/ THREADINFOCLASS ThreadInformationClass, + /*IN*/ PVOID ThreadInformation, + /*IN*/ ULONG ThreadInformationLength); + typedef struct _THREAD_BASIC_INFORMATION { NTSTATUS ExitStatus; PNT_TIB TebBaseAddress; @@ -1271,6 +1533,13 @@ NTOSAPI NTSTATUS NTAPI +NtSuspendThread( + /*IN*/ HANDLE ThreadHandle, + /*OUT*/ PULONG PreviousSuspendCount /*OPTIONAL*/); + +NTOSAPI +NTSTATUS +NTAPI ZwSuspendThread( /*IN*/ HANDLE ThreadHandle, /*OUT*/ PULONG PreviousSuspendCount /*OPTIONAL*/); @@ -1278,6 +1547,13 @@ NTOSAPI NTSTATUS NTAPI +NtResumeThread( + /*IN*/ HANDLE ThreadHandle, + /*OUT*/ PULONG PreviousSuspendCount /*OPTIONAL*/); + +NTOSAPI +NTSTATUS +NTAPI ZwResumeThread( /*IN*/ HANDLE ThreadHandle, /*OUT*/ PULONG PreviousSuspendCount /*OPTIONAL*/); @@ -1285,6 +1561,13 @@ NTOSAPI NTSTATUS NTAPI +NtGetContextThread( + /*IN*/ HANDLE ThreadHandle, + /*OUT*/ PCONTEXT Context); + +NTOSAPI +NTSTATUS +NTAPI ZwGetContextThread( /*IN*/ HANDLE ThreadHandle, /*OUT*/ PCONTEXT Context); @@ -1292,6 +1575,13 @@ NTOSAPI NTSTATUS NTAPI +NtSetContextThread( + /*IN*/ HANDLE ThreadHandle, + /*IN*/ PCONTEXT Context); + +NTOSAPI +NTSTATUS +NTAPI ZwSetContextThread( /*IN*/ HANDLE ThreadHandle, /*IN*/ PCONTEXT Context); @@ -1299,6 +1589,16 @@ NTOSAPI NTSTATUS NTAPI +NtQueueApcThread( + /*IN*/ HANDLE ThreadHandle, + /*IN*/ PKNORMAL_ROUTINE ApcRoutine, + /*IN*/ PVOID ApcContext /*OPTIONAL*/, + /*IN*/ PVOID Argument1 /*OPTIONAL*/, + /*IN*/ PVOID Argument2 /*OPTIONAL*/); + +NTOSAPI +NTSTATUS +NTAPI ZwQueueApcThread( /*IN*/ HANDLE ThreadHandle, /*IN*/ PKNORMAL_ROUTINE ApcRoutine, @@ -1309,18 +1609,37 @@ NTOSAPI NTSTATUS NTAPI +NtTestAlert( + VOID); + +NTOSAPI +NTSTATUS +NTAPI ZwTestAlert( VOID); NTOSAPI NTSTATUS NTAPI +NtAlertThread( + /*IN*/ HANDLE ThreadHandle); + +NTOSAPI +NTSTATUS +NTAPI ZwAlertThread( /*IN*/ HANDLE ThreadHandle); NTOSAPI NTSTATUS NTAPI +NtAlertResumeThread( + /*IN*/ HANDLE ThreadHandle, + /*OUT*/ PULONG PreviousSuspendCount /*OPTIONAL*/); + +NTOSAPI +NTSTATUS +NTAPI ZwAlertResumeThread( /*IN*/ HANDLE ThreadHandle, /*OUT*/ PULONG PreviousSuspendCount /*OPTIONAL*/); @@ -1328,12 +1647,26 @@ NTOSAPI NTSTATUS NTAPI +NtRegisterThreadTerminatePort( + /*IN*/ HANDLE PortHandle); + +NTOSAPI +NTSTATUS +NTAPI ZwRegisterThreadTerminatePort( /*IN*/ HANDLE PortHandle); NTOSAPI NTSTATUS NTAPI +NtImpersonateThread( + /*IN*/ HANDLE ThreadHandle, + /*IN*/ HANDLE TargetThreadHandle, + /*IN*/ PSECURITY_QUALITY_OF_SERVICE SecurityQos); + +NTOSAPI +NTSTATUS +NTAPI ZwImpersonateThread( /*IN*/ HANDLE ThreadHandle, /*IN*/ HANDLE TargetThreadHandle, @@ -1342,6 +1675,12 @@ NTOSAPI NTSTATUS NTAPI +NtImpersonateAnonymousToken( + /*IN*/ HANDLE ThreadHandle); + +NTOSAPI +NTSTATUS +NTAPI ZwImpersonateAnonymousToken( /*IN*/ HANDLE ThreadHandle); @@ -1353,7 +1692,7 @@ NTOSAPI NTSTATUS NTAPI -ZwCreateProcess( +NtCreateProcess( /*OUT*/ PHANDLE ProcessHandle, /*IN*/ ACCESS_MASK DesiredAccess, /*IN*/ POBJECT_ATTRIBUTES ObjectAttributes, @@ -1379,6 +1718,13 @@ NTOSAPI NTSTATUS NTAPI +NtTerminateProcess( + /*IN*/ HANDLE ProcessHandle /*OPTIONAL*/, + /*IN*/ NTSTATUS ExitStatus); + +NTOSAPI +NTSTATUS +NTAPI ZwTerminateProcess( /*IN*/ HANDLE ProcessHandle /*OPTIONAL*/, /*IN*/ NTSTATUS ExitStatus); @@ -1386,6 +1732,16 @@ NTOSAPI NTSTATUS NTAPI +NtQueryInformationProcess( + /*IN*/ HANDLE ProcessHandle, + /*IN*/ PROCESSINFOCLASS ProcessInformationClass, + /*OUT*/ PVOID ProcessInformation, + /*IN*/ ULONG ProcessInformationLength, + /*OUT*/ PULONG ReturnLength /*OPTIONAL*/); + +NTOSAPI +NTSTATUS +NTAPI ZwQueryInformationProcess( /*IN*/ HANDLE ProcessHandle, /*IN*/ PROCESSINFOCLASS ProcessInformationClass, @@ -1643,6 +1999,14 @@ NTOSAPI NTSTATUS NTAPI +NtCreateJobObject( + /*OUT*/ PHANDLE JobHandle, + /*IN*/ ACCESS_MASK DesiredAccess, + /*IN*/ POBJECT_ATTRIBUTES ObjectAttributes); + +NTOSAPI +NTSTATUS +NTAPI ZwCreateJobObject( /*OUT*/ PHANDLE JobHandle, /*IN*/ ACCESS_MASK DesiredAccess, @@ -1651,6 +2015,14 @@ NTOSAPI NTSTATUS NTAPI +NtOpenJobObject( + /*OUT*/ PHANDLE JobHandle, + /*IN*/ ACCESS_MASK DesiredAccess, + /*IN*/ POBJECT_ATTRIBUTES ObjectAttributes); + +NTOSAPI +NTSTATUS +NTAPI ZwOpenJobObject( /*OUT*/ PHANDLE JobHandle, /*IN*/ ACCESS_MASK DesiredAccess, @@ -1659,6 +2031,13 @@ NTOSAPI NTSTATUS NTAPI +NtTerminateJobObject( + /*IN*/ HANDLE JobHandle, + /*IN*/ NTSTATUS ExitStatus); + +NTOSAPI +NTSTATUS +NTAPI ZwTerminateJobObject( /*IN*/ HANDLE JobHandle, /*IN*/ NTSTATUS ExitStatus); @@ -1666,6 +2045,13 @@ NTOSAPI NTSTATUS NTAPI +NtAssignProcessToJobObject( + /*IN*/ HANDLE JobHandle, + /*IN*/ HANDLE ProcessHandle); + +NTOSAPI +NTSTATUS +NTAPI ZwAssignProcessToJobObject( /*IN*/ HANDLE JobHandle, /*IN*/ HANDLE ProcessHandle); @@ -1673,6 +2059,16 @@ NTOSAPI NTSTATUS NTAPI +NtQueryInformationJobObject( + /*IN*/ HANDLE JobHandle, + /*IN*/ JOBOBJECTINFOCLASS JobInformationClass, + /*OUT*/ PVOID JobInformation, + /*IN*/ ULONG JobInformationLength, + /*OUT*/ PULONG ReturnLength /*OPTIONAL*/); + +NTOSAPI +NTSTATUS +NTAPI ZwQueryInformationJobObject( /*IN*/ HANDLE JobHandle, /*IN*/ JOBOBJECTINFOCLASS JobInformationClass, @@ -1683,6 +2079,15 @@ NTOSAPI NTSTATUS NTAPI +NtSetInformationJobObject( + /*IN*/ HANDLE JobHandle, + /*IN*/ JOBOBJECTINFOCLASS JobInformationClass, + /*IN*/ PVOID JobInformation, + /*IN*/ ULONG JobInformationLength); + +NTOSAPI +NTSTATUS +NTAPI ZwSetInformationJobObject( /*IN*/ HANDLE JobHandle, /*IN*/ JOBOBJECTINFOCLASS JobInformationClass, @@ -1695,6 +2100,25 @@ NTOSAPI NTSTATUS NTAPI +NtCreateToken( + /*OUT*/ PHANDLE TokenHandle, + /*IN*/ ACCESS_MASK DesiredAccess, + /*IN*/ POBJECT_ATTRIBUTES ObjectAttributes, + /*IN*/ TOKEN_TYPE Type, + /*IN*/ PLUID AuthenticationId, + /*IN*/ PLARGE_INTEGER ExpirationTime, + /*IN*/ PTOKEN_USER User, + /*IN*/ PTOKEN_GROUPS Groups, + /*IN*/ PTOKEN_PRIVILEGES Privileges, + /*IN*/ PTOKEN_OWNER Owner, + /*IN*/ PTOKEN_PRIMARY_GROUP PrimaryGroup, + /*IN*/ PTOKEN_DEFAULT_DACL DefaultDacl, + /*IN*/ PTOKEN_SOURCE Source +); + +NTOSAPI +NTSTATUS +NTAPI ZwCreateToken( /*OUT*/ PHANDLE TokenHandle, /*IN*/ ACCESS_MASK DesiredAccess, @@ -1770,6 +2194,17 @@ NTOSAPI NTSTATUS NTAPI +NtFilterToken( + /*IN*/ HANDLE ExistingTokenHandle, + /*IN*/ ULONG Flags, + /*IN*/ PTOKEN_GROUPS SidsToDisable, + /*IN*/ PTOKEN_PRIVILEGES PrivilegesToDelete, + /*IN*/ PTOKEN_GROUPS SidsToRestricted, + /*OUT*/ PHANDLE NewTokenHandle); + +NTOSAPI +NTSTATUS +NTAPI ZwFilterToken( /*IN*/ HANDLE ExistingTokenHandle, /*IN*/ ULONG Flags, @@ -1803,6 +2238,17 @@ NTOSAPI NTSTATUS NTAPI +NtAdjustGroupsToken( + /*IN*/ HANDLE TokenHandle, + /*IN*/ BOOLEAN ResetToDefault, + /*IN*/ PTOKEN_GROUPS NewState, + /*IN*/ ULONG BufferLength, + /*OUT*/ PTOKEN_GROUPS PreviousState /*OPTIONAL*/, + /*OUT*/ PULONG ReturnLength); + +NTOSAPI +NTSTATUS +NTAPI ZwAdjustGroupsToken( /*IN*/ HANDLE TokenHandle, /*IN*/ BOOLEAN ResetToDefault, @@ -1834,6 +2280,15 @@ NTOSAPI NTSTATUS NTAPI +NtSetInformationToken( + /*IN*/ HANDLE TokenHandle, + /*IN*/ TOKEN_INFORMATION_CLASS TokenInformationClass, + /*IN*/ PVOID TokenInformation, + /*IN*/ ULONG TokenInformationLength); + +NTOSAPI +NTSTATUS +NTAPI ZwSetInformationToken( /*IN*/ HANDLE TokenHandle, /*IN*/ TOKEN_INFORMATION_CLASS TokenInformationClass, @@ -1848,12 +2303,25 @@ NTOSAPI NTSTATUS NTAPI +NtQuerySystemTime( + /*OUT*/ PLARGE_INTEGER CurrentTime); + +NTOSAPI +NTSTATUS +NTAPI ZwQuerySystemTime( /*OUT*/ PLARGE_INTEGER CurrentTime); NTOSAPI NTSTATUS NTAPI +NtSetSystemTime( + /*IN*/ PLARGE_INTEGER NewTime, + /*OUT*/ PLARGE_INTEGER OldTime /*OPTIONAL*/); + +NTOSAPI +NTSTATUS +NTAPI ZwSetSystemTime( /*IN*/ PLARGE_INTEGER NewTime, /*OUT*/ PLARGE_INTEGER OldTime /*OPTIONAL*/); @@ -1861,7 +2329,7 @@ NTOSAPI NTSTATUS NTAPI -ZwQueryPerformanceCounter( +NtQueryPerformanceCounter( /*OUT*/ PLARGE_INTEGER PerformanceCount, /*OUT*/ PLARGE_INTEGER PerformanceFrequency /*OPTIONAL*/); @@ -1875,6 +2343,14 @@ NTOSAPI NTSTATUS NTAPI +NtQueryTimerResolution( + /*OUT*/ PULONG CoarsestResolution, + /*OUT*/ PULONG FinestResolution, + /*OUT*/ PULONG ActualResolution); + +NTOSAPI +NTSTATUS +NTAPI ZwQueryTimerResolution( /*OUT*/ PULONG CoarsestResolution, /*OUT*/ PULONG FinestResolution, @@ -1883,6 +2359,13 @@ NTOSAPI NTSTATUS NTAPI +NtDelayExecution( + /*IN*/ BOOLEAN Alertable, + /*IN*/ PLARGE_INTEGER Interval); + +NTOSAPI +NTSTATUS +NTAPI ZwDelayExecution( /*IN*/ BOOLEAN Alertable, /*IN*/ PLARGE_INTEGER Interval); @@ -1890,12 +2373,24 @@ NTOSAPI NTSTATUS NTAPI +NtYieldExecution( + VOID); + +NTOSAPI +NTSTATUS +NTAPI ZwYieldExecution( VOID); NTOSAPI ULONG NTAPI +NtGetTickCount( + VOID); + +NTOSAPI +ULONG +NTAPI ZwGetTickCount( VOID); @@ -1907,6 +2402,20 @@ NTOSAPI NTSTATUS NTAPI +NtCreateProfile( + /*OUT*/ PHANDLE ProfileHandle, + /*IN*/ HANDLE ProcessHandle, + /*IN*/ PVOID Base, + /*IN*/ ULONG Size, + /*IN*/ ULONG BucketShift, + /*IN*/ PULONG Buffer, + /*IN*/ ULONG BufferLength, + /*IN*/ KPROFILE_SOURCE Source, + /*IN*/ ULONG ProcessorMask); + +NTOSAPI +NTSTATUS +NTAPI ZwCreateProfile( /*OUT*/ PHANDLE ProfileHandle, /*IN*/ HANDLE ProcessHandle, @@ -1921,6 +2430,13 @@ NTOSAPI NTSTATUS NTAPI +NtSetIntervalProfile( + /*IN*/ ULONG Interval, + /*IN*/ KPROFILE_SOURCE Source); + +NTOSAPI +NTSTATUS +NTAPI ZwSetIntervalProfile( /*IN*/ ULONG Interval, /*IN*/ KPROFILE_SOURCE Source); @@ -1928,6 +2444,13 @@ NTOSAPI NTSTATUS NTAPI +NtQueryIntervalProfile( + /*IN*/ KPROFILE_SOURCE Source, + /*OUT*/ PULONG Interval); + +NTOSAPI +NTSTATUS +NTAPI ZwQueryIntervalProfile( /*IN*/ KPROFILE_SOURCE Source, /*OUT*/ PULONG Interval); @@ -1935,12 +2458,24 @@ NTOSAPI NTSTATUS NTAPI +NtStartProfile( + /*IN*/ HANDLE ProfileHandle); + +NTOSAPI +NTSTATUS +NTAPI ZwStartProfile( /*IN*/ HANDLE ProfileHandle); NTOSAPI NTSTATUS NTAPI +NtStopProfile( + /*IN*/ HANDLE ProfileHandle); + +NTOSAPI +NTSTATUS +NTAPI ZwStopProfile( /*IN*/ HANDLE ProfileHandle); @@ -1993,6 +2528,16 @@ NTOSAPI NTSTATUS NTAPI +NtCreatePort( + /*OUT*/ PHANDLE PortHandle, + /*IN*/ POBJECT_ATTRIBUTES ObjectAttributes, + /*IN*/ ULONG MaxDataSize, + /*IN*/ ULONG MaxMessageSize, + /*IN*/ ULONG Reserved); + +NTOSAPI +NTSTATUS +NTAPI ZwCreatePort( /*OUT*/ PHANDLE PortHandle, /*IN*/ POBJECT_ATTRIBUTES ObjectAttributes, @@ -2003,6 +2548,16 @@ NTOSAPI NTSTATUS NTAPI +NtCreateWaitablePort( + /*OUT*/ PHANDLE PortHandle, + /*IN*/ POBJECT_ATTRIBUTES ObjectAttributes, + /*IN*/ ULONG MaxDataSize, + /*IN*/ ULONG MaxMessageSize, + /*IN*/ ULONG Reserved); + +NTOSAPI +NTSTATUS +NTAPI ZwCreateWaitablePort( /*OUT*/ PHANDLE PortHandle, /*IN*/ POBJECT_ATTRIBUTES ObjectAttributes, @@ -2039,15 +2594,9 @@ NTOSAPI NTSTATUS NTAPI -ZwConnectPort( - /*OUT*/ PHANDLE PortHandle, - /*IN*/ PUNICODE_STRING PortName, - /*IN*/ PSECURITY_QUALITY_OF_SERVICE SecurityQos, - /*IN OUT*/ PLPC_SECTION_WRITE WriteSection /*OPTIONAL*/, - /*IN OUT*/ PLPC_SECTION_READ ReadSection /*OPTIONAL*/, - /*OUT*/ PULONG MaxMessageSize /*OPTIONAL*/, - /*IN OUT*/ PVOID ConnectData /*OPTIONAL*/, - /*IN OUT*/ PULONG ConnectDataLength /*OPTIONAL*/); +NtListenPort( + /*IN*/ HANDLE PortHandle, + /*OUT*/ PLPC_MESSAGE Message); NTOSAPI NTSTATUS @@ -2059,6 +2608,17 @@ NTOSAPI NTSTATUS NTAPI +NtAcceptConnectPort( + /*OUT*/ PHANDLE PortHandle, + /*IN*/ ULONG PortIdentifier, + /*IN*/ PLPC_MESSAGE Message, + /*IN*/ BOOLEAN Accept, + /*IN OUT*/ PLPC_SECTION_WRITE WriteSection /*OPTIONAL*/, + /*IN OUT*/ PLPC_SECTION_READ ReadSection /*OPTIONAL*/); + +NTOSAPI +NTSTATUS +NTAPI ZwAcceptConnectPort( /*OUT*/ PHANDLE PortHandle, /*IN*/ ULONG PortIdentifier, @@ -2070,6 +2630,12 @@ NTOSAPI NTSTATUS NTAPI +NtCompleteConnectPort( + /*IN*/ HANDLE PortHandle); + +NTOSAPI +NTSTATUS +NTAPI ZwCompleteConnectPort( /*IN*/ HANDLE PortHandle); @@ -2083,6 +2649,13 @@ NTOSAPI NTSTATUS NTAPI +ZwRequestPort( + /*IN*/ HANDLE PortHandle, + /*IN*/ PLPC_MESSAGE RequestMessage); + +NTOSAPI +NTSTATUS +NTAPI NtRequestWaitReplyPort( /*IN*/ HANDLE PortHandle, /*IN*/ PLPC_MESSAGE RequestMessage, @@ -2099,6 +2672,13 @@ NTOSAPI NTSTATUS NTAPI +NtReplyPort( + /*IN*/ HANDLE PortHandle, + /*IN*/ PLPC_MESSAGE ReplyMessage); + +NTOSAPI +NTSTATUS +NTAPI ZwReplyPort( /*IN*/ HANDLE PortHandle, /*IN*/ PLPC_MESSAGE ReplyMessage); @@ -2106,6 +2686,13 @@ NTOSAPI NTSTATUS NTAPI +NtReplyWaitReplyPort( + /*IN*/ HANDLE PortHandle, + /*IN OUT*/ PLPC_MESSAGE ReplyMessage); + +NTOSAPI +NTSTATUS +NTAPI ZwReplyWaitReplyPort( /*IN*/ HANDLE PortHandle, /*IN OUT*/ PLPC_MESSAGE ReplyMessage); @@ -2113,6 +2700,15 @@ NTOSAPI NTSTATUS NTAPI +NtReplyWaitReceivePort( + /*IN*/ HANDLE PortHandle, + /*OUT*/ PULONG PortIdentifier /*OPTIONAL*/, + /*IN*/ PLPC_MESSAGE ReplyMessage /*OPTIONAL*/, + /*OUT*/ PLPC_MESSAGE Message); + +NTOSAPI +NTSTATUS +NTAPI ZwReplyWaitReceivePort( /*IN*/ HANDLE PortHandle, /*OUT*/ PULONG PortIdentifier /*OPTIONAL*/, @@ -2122,6 +2718,16 @@ NTOSAPI NTSTATUS NTAPI +NtReplyWaitReceivePortEx( + /*IN*/ HANDLE PortHandle, + /*OUT*/ PULONG PortIdentifier /*OPTIONAL*/, + /*IN*/ PLPC_MESSAGE ReplyMessage /*OPTIONAL*/, + /*OUT*/ PLPC_MESSAGE Message, + /*IN*/ PLARGE_INTEGER Timeout); + +NTOSAPI +NTSTATUS +NTAPI ZwReplyWaitReceivePortEx( /*IN*/ HANDLE PortHandle, /*OUT*/ PULONG PortIdentifier /*OPTIONAL*/, @@ -2132,6 +2738,17 @@ NTOSAPI NTSTATUS NTAPI +NtReadRequestData( + /*IN*/ HANDLE PortHandle, + /*IN*/ PLPC_MESSAGE Message, + /*IN*/ ULONG Index, + /*OUT*/ PVOID Buffer, + /*IN*/ ULONG BufferLength, + /*OUT*/ PULONG ReturnLength /*OPTIONAL*/); + +NTOSAPI +NTSTATUS +NTAPI ZwReadRequestData( /*IN*/ HANDLE PortHandle, /*IN*/ PLPC_MESSAGE Message, @@ -2143,6 +2760,17 @@ NTOSAPI NTSTATUS NTAPI +NtWriteRequestData( + /*IN*/ HANDLE PortHandle, + /*IN*/ PLPC_MESSAGE Message, + /*IN*/ ULONG Index, + /*IN*/ PVOID Buffer, + /*IN*/ ULONG BufferLength, + /*OUT*/ PULONG ReturnLength /*OPTIONAL*/); + +NTOSAPI +NTSTATUS +NTAPI ZwWriteRequestData( /*IN*/ HANDLE PortHandle, /*IN*/ PLPC_MESSAGE Message, @@ -2158,6 +2786,16 @@ NTOSAPI NTSTATUS NTAPI +NtQueryInformationPort( + /*IN*/ HANDLE PortHandle, + /*IN*/ PORT_INFORMATION_CLASS PortInformationClass, + /*OUT*/ PVOID PortInformation, + /*IN*/ ULONG PortInformationLength, + /*OUT*/ PULONG ReturnLength /*OPTIONAL*/); + +NTOSAPI +NTSTATUS +NTAPI ZwQueryInformationPort( /*IN*/ HANDLE PortHandle, /*IN*/ PORT_INFORMATION_CLASS PortInformationClass, @@ -2168,6 +2806,13 @@ NTOSAPI NTSTATUS NTAPI +NtImpersonateClientOfPort( + /*IN*/ HANDLE PortHandle, + /*IN*/ PLPC_MESSAGE Message); + +NTOSAPI +NTSTATUS +NTAPI ZwImpersonateClientOfPort( /*IN*/ HANDLE PortHandle, /*IN*/ PLPC_MESSAGE Message); @@ -2192,6 +2837,13 @@ NTOSAPI NTSTATUS NTAPI +NtFlushBuffersFile( + /*IN*/ HANDLE FileHandle, + /*OUT*/ PIO_STATUS_BLOCK IoStatusBlock); + +NTOSAPI +NTSTATUS +NTAPI ZwFlushBuffersFile( /*IN*/ HANDLE FileHandle, /*OUT*/ PIO_STATUS_BLOCK IoStatusBlock); @@ -2199,6 +2851,13 @@ NTOSAPI NTSTATUS NTAPI +NtCancelIoFile( + /*IN*/ HANDLE FileHandle, + /*OUT*/ PIO_STATUS_BLOCK IoStatusBlock); + +NTOSAPI +NTSTATUS +NTAPI ZwCancelIoFile( /*IN*/ HANDLE FileHandle, /*OUT*/ PIO_STATUS_BLOCK IoStatusBlock); @@ -2206,6 +2865,20 @@ NTOSAPI NTSTATUS NTAPI +NtReadFileScatter( + /*IN*/ HANDLE FileHandle, + /*IN*/ HANDLE Event /*OPTIONAL*/, + /*IN*/ PIO_APC_ROUTINE ApcRoutine /*OPTIONAL*/, + /*IN*/ PVOID ApcContext /*OPTIONAL*/, + /*OUT*/ PIO_STATUS_BLOCK IoStatusBlock, + /*IN*/ PFILE_SEGMENT_ELEMENT Buffer, + /*IN*/ ULONG Length, + /*IN*/ PLARGE_INTEGER ByteOffset /*OPTIONAL*/, + /*IN*/ PULONG Key /*OPTIONAL*/); + +NTOSAPI +NTSTATUS +NTAPI ZwReadFileScatter( /*IN*/ HANDLE FileHandle, /*IN*/ HANDLE Event /*OPTIONAL*/, @@ -2220,6 +2893,20 @@ NTOSAPI NTSTATUS NTAPI +NtWriteFileGather( + /*IN*/ HANDLE FileHandle, + /*IN*/ HANDLE Event /*OPTIONAL*/, + /*IN*/ PIO_APC_ROUTINE ApcRoutine /*OPTIONAL*/, + /*IN*/ PVOID ApcContext /*OPTIONAL*/, + /*OUT*/ PIO_STATUS_BLOCK IoStatusBlock, + /*IN*/ PFILE_SEGMENT_ELEMENT Buffer, + /*IN*/ ULONG Length, + /*IN*/ PLARGE_INTEGER ByteOffset /*OPTIONAL*/, + /*IN*/ PULONG Key /*OPTIONAL*/); + +NTOSAPI +NTSTATUS +NTAPI ZwWriteFileGather( /*IN*/ HANDLE FileHandle, /*IN*/ HANDLE Event /*OPTIONAL*/, @@ -2239,6 +2926,13 @@ NTOSAPI NTSTATUS NTAPI +NtSaveKey( + /*IN*/ HANDLE KeyHandle, + /*IN*/ HANDLE FileHandle); + +NTOSAPI +NTSTATUS +NTAPI ZwSaveKey( /*IN*/ HANDLE KeyHandle, /*IN*/ HANDLE FileHandle); @@ -2246,6 +2940,14 @@ NTOSAPI NTSTATUS NTAPI +NtSaveMergedKeys( + /*IN*/ HANDLE KeyHandle1, + /*IN*/ HANDLE KeyHandle2, + /*IN*/ HANDLE FileHandle); + +NTOSAPI +NTSTATUS +NTAPI ZwSaveMergedKeys( /*IN*/ HANDLE KeyHandle1, /*IN*/ HANDLE KeyHandle2, @@ -2254,6 +2956,14 @@ NTOSAPI NTSTATUS NTAPI +NtRestoreKey( + /*IN*/ HANDLE KeyHandle, + /*IN*/ HANDLE FileHandle, + /*IN*/ ULONG Flags); + +NTOSAPI +NTSTATUS +NTAPI ZwRestoreKey( /*IN*/ HANDLE KeyHandle, /*IN*/ HANDLE FileHandle, @@ -2262,6 +2972,13 @@ NTOSAPI NTSTATUS NTAPI +NtLoadKey( + /*IN*/ POBJECT_ATTRIBUTES KeyObjectAttributes, + /*IN*/ POBJECT_ATTRIBUTES FileObjectAttributes); + +NTOSAPI +NTSTATUS +NTAPI ZwLoadKey( /*IN*/ POBJECT_ATTRIBUTES KeyObjectAttributes, /*IN*/ POBJECT_ATTRIBUTES FileObjectAttributes); @@ -2269,6 +2986,14 @@ NTOSAPI NTSTATUS NTAPI +NtLoadKey2( + /*IN*/ POBJECT_ATTRIBUTES KeyObjectAttributes, + /*IN*/ POBJECT_ATTRIBUTES FileObjectAttributes, + /*IN*/ ULONG Flags); + +NTOSAPI +NTSTATUS +NTAPI ZwLoadKey2( /*IN*/ POBJECT_ATTRIBUTES KeyObjectAttributes, /*IN*/ POBJECT_ATTRIBUTES FileObjectAttributes, @@ -2277,12 +3002,25 @@ NTOSAPI NTSTATUS NTAPI +NtUnloadKey( + /*IN*/ POBJECT_ATTRIBUTES KeyObjectAttributes); + +NTOSAPI +NTSTATUS +NTAPI ZwUnloadKey( /*IN*/ POBJECT_ATTRIBUTES KeyObjectAttributes); NTOSAPI NTSTATUS NTAPI +NtQueryOpenSubKeys( + /*IN*/ POBJECT_ATTRIBUTES KeyObjectAttributes, + /*OUT*/ PULONG NumberOfKeys); + +NTOSAPI +NTSTATUS +NTAPI ZwQueryOpenSubKeys( /*IN*/ POBJECT_ATTRIBUTES KeyObjectAttributes, /*OUT*/ PULONG NumberOfKeys); @@ -2290,6 +3028,14 @@ NTOSAPI NTSTATUS NTAPI +NtReplaceKey( + /*IN*/ POBJECT_ATTRIBUTES NewFileObjectAttributes, + /*IN*/ HANDLE KeyHandle, + /*IN*/ POBJECT_ATTRIBUTES OldFileObjectAttributes); + +NTOSAPI +NTSTATUS +NTAPI ZwReplaceKey( /*IN*/ POBJECT_ATTRIBUTES NewFileObjectAttributes, /*IN*/ HANDLE KeyHandle, @@ -2302,6 +3048,15 @@ NTOSAPI NTSTATUS NTAPI +NtSetInformationKey( + /*IN*/ HANDLE KeyHandle, + /*IN*/ KEY_SET_INFORMATION_CLASS KeyInformationClass, + /*IN*/ PVOID KeyInformation, + /*IN*/ ULONG KeyInformationLength); + +NTOSAPI +NTSTATUS +NTAPI ZwSetInformationKey( /*IN*/ HANDLE KeyHandle, /*IN*/ KEY_SET_INFORMATION_CLASS KeyInformationClass, @@ -2320,6 +3075,21 @@ NTOSAPI NTSTATUS NTAPI +NtNotifyChangeKey( + /*IN*/ HANDLE KeyHandle, + /*IN*/ HANDLE EventHandle /*OPTIONAL*/, + /*IN*/ PIO_APC_ROUTINE ApcRoutine /*OPTIONAL*/, + /*IN*/ PVOID ApcContext /*OPTIONAL*/, + /*OUT*/ PIO_STATUS_BLOCK IoStatusBlock, + /*IN*/ ULONG NotifyFilter, + /*IN*/ BOOLEAN WatchSubtree, + /*IN*/ PVOID Buffer, + /*IN*/ ULONG BufferLength, + /*IN*/ BOOLEAN Asynchronous); + +NTOSAPI +NTSTATUS +NTAPI ZwNotifyChangeKey( /*IN*/ HANDLE KeyHandle, /*IN*/ HANDLE EventHandle /*OPTIONAL*/, @@ -2339,6 +3109,23 @@ NTOSAPI NTSTATUS NTAPI +NtNotifyChangeMultipleKeys( + /*IN*/ HANDLE KeyHandle, + /*IN*/ ULONG Flags, + /*IN*/ POBJECT_ATTRIBUTES KeyObjectAttributes, + /*IN*/ HANDLE EventHandle /*OPTIONAL*/, + /*IN*/ PIO_APC_ROUTINE ApcRoutine /*OPTIONAL*/, + /*IN*/ PVOID ApcContext /*OPTIONAL*/, + /*OUT*/ PIO_STATUS_BLOCK IoStatusBlock, + /*IN*/ ULONG NotifyFilter, + /*IN*/ BOOLEAN WatchSubtree, + /*IN*/ PVOID Buffer, + /*IN*/ ULONG BufferLength, + /*IN*/ BOOLEAN Asynchronous); + +NTOSAPI +NTSTATUS +NTAPI ZwNotifyChangeMultipleKeys( /*IN*/ HANDLE KeyHandle, /*IN*/ ULONG Flags, @@ -2356,6 +3143,17 @@ NTOSAPI NTSTATUS NTAPI +NtQueryMultipleValueKey( + /*IN*/ HANDLE KeyHandle, + /*IN OUT*/ PKEY_VALUE_ENTRY ValueList, + /*IN*/ ULONG NumberOfValues, + /*OUT*/ PVOID Buffer, + /*IN OUT*/ PULONG Length, + /*OUT*/ PULONG ReturnLength); + +NTOSAPI +NTSTATUS +NTAPI ZwQueryMultipleValueKey( /*IN*/ HANDLE KeyHandle, /*IN OUT*/ PKEY_VALUE_ENTRY ValueList, @@ -2367,6 +3165,12 @@ NTOSAPI NTSTATUS NTAPI +NtInitializeRegistry( + /*IN*/ BOOLEAN Setup); + +NTOSAPI +NTSTATUS +NTAPI ZwInitializeRegistry( /*IN*/ BOOLEAN Setup); @@ -2378,6 +3182,14 @@ NTOSAPI NTSTATUS NTAPI +NtPrivilegeCheck( + /*IN*/ HANDLE TokenHandle, + /*IN*/ PPRIVILEGE_SET RequiredPrivileges, + /*OUT*/ PBOOLEAN Result); + +NTOSAPI +NTSTATUS +NTAPI ZwPrivilegeCheck( /*IN*/ HANDLE TokenHandle, /*IN*/ PPRIVILEGE_SET RequiredPrivileges, @@ -2386,7 +3198,7 @@ NTOSAPI NTSTATUS NTAPI -ZwPrivilegeObjectAuditAlarm( +NtPrivilegeObjectAuditAlarm( /*IN*/ PUNICODE_STRING SubsystemName, /*IN*/ PVOID HandleId, /*IN*/ HANDLE TokenHandle, @@ -2408,6 +3220,19 @@ NTOSAPI NTSTATUS NTAPI +NtAccessCheck( + /*IN*/ PSECURITY_DESCRIPTOR SecurityDescriptor, + /*IN*/ HANDLE TokenHandle, + /*IN*/ ACCESS_MASK DesiredAccess, + /*IN*/ PGENERIC_MAPPING GenericMapping, + /*IN*/ PPRIVILEGE_SET PrivilegeSet, + /*IN*/ PULONG PrivilegeSetLength, + /*OUT*/ PACCESS_MASK GrantedAccess, + /*OUT*/ PBOOLEAN AccessStatus); + +NTOSAPI +NTSTATUS +NTAPI ZwAccessCheck( /*IN*/ PSECURITY_DESCRIPTOR SecurityDescriptor, /*IN*/ HANDLE TokenHandle, @@ -2421,6 +3246,22 @@ NTOSAPI NTSTATUS NTAPI +NtAccessCheckAndAuditAlarm( + /*IN*/ PUNICODE_STRING SubsystemName, + /*IN*/ PVOID HandleId, + /*IN*/ PUNICODE_STRING ObjectTypeName, + /*IN*/ PUNICODE_STRING ObjectName, + /*IN*/ PSECURITY_DESCRIPTOR SecurityDescriptor, + /*IN*/ ACCESS_MASK DesiredAccess, + /*IN*/ PGENERIC_MAPPING GenericMapping, + /*IN*/ BOOLEAN ObjectCreation, + /*OUT*/ PACCESS_MASK GrantedAccess, + /*OUT*/ PBOOLEAN AccessStatus, + /*OUT*/ PBOOLEAN GenerateOnClose); + +NTOSAPI +NTSTATUS +NTAPI ZwAccessCheckAndAuditAlarm( /*IN*/ PUNICODE_STRING SubsystemName, /*IN*/ PVOID HandleId, @@ -2437,6 +3278,22 @@ NTOSAPI NTSTATUS NTAPI +NtAccessCheckByType( + /*IN*/ PSECURITY_DESCRIPTOR SecurityDescriptor, + /*IN*/ PSID PrincipalSelfSid, + /*IN*/ HANDLE TokenHandle, + /*IN*/ ULONG DesiredAccess, + /*IN*/ POBJECT_TYPE_LIST ObjectTypeList, + /*IN*/ ULONG ObjectTypeListLength, + /*IN*/ PGENERIC_MAPPING GenericMapping, + /*IN*/ PPRIVILEGE_SET PrivilegeSet, + /*IN*/ PULONG PrivilegeSetLength, + /*OUT*/ PACCESS_MASK GrantedAccess, + /*OUT*/ PULONG AccessStatus); + +NTOSAPI +NTSTATUS +NTAPI ZwAccessCheckByType( /*IN*/ PSECURITY_DESCRIPTOR SecurityDescriptor, /*IN*/ PSID PrincipalSelfSid, @@ -2458,6 +3315,27 @@ NTOSAPI NTSTATUS NTAPI +NtAccessCheckByTypeAndAuditAlarm( + /*IN*/ PUNICODE_STRING SubsystemName, + /*IN*/ PVOID HandleId, + /*IN*/ PUNICODE_STRING ObjectTypeName, + /*IN*/ PUNICODE_STRING ObjectName, + /*IN*/ PSECURITY_DESCRIPTOR SecurityDescriptor, + /*IN*/ PSID PrincipalSelfSid, + /*IN*/ ACCESS_MASK DesiredAccess, + /*IN*/ AUDIT_EVENT_TYPE AuditType, + /*IN*/ ULONG Flags, + /*IN*/ POBJECT_TYPE_LIST ObjectTypeList, + /*IN*/ ULONG ObjectTypeListLength, + /*IN*/ PGENERIC_MAPPING GenericMapping, + /*IN*/ BOOLEAN ObjectCreation, + /*OUT*/ PACCESS_MASK GrantedAccess, + /*OUT*/ PULONG AccessStatus, + /*OUT*/ PBOOLEAN GenerateOnClose); + +NTOSAPI +NTSTATUS +NTAPI ZwAccessCheckByTypeAndAuditAlarm( /*IN*/ PUNICODE_STRING SubsystemName, /*IN*/ PVOID HandleId, @@ -2479,6 +3357,22 @@ NTOSAPI NTSTATUS NTAPI +NtAccessCheckByTypeResultList( + /*IN*/ PSECURITY_DESCRIPTOR SecurityDescriptor, + /*IN*/ PSID PrincipalSelfSid, + /*IN*/ HANDLE TokenHandle, + /*IN*/ ACCESS_MASK DesiredAccess, + /*IN*/ POBJECT_TYPE_LIST ObjectTypeList, + /*IN*/ ULONG ObjectTypeListLength, + /*IN*/ PGENERIC_MAPPING GenericMapping, + /*IN*/ PPRIVILEGE_SET PrivilegeSet, + /*IN*/ PULONG PrivilegeSetLength, + /*OUT*/ PACCESS_MASK GrantedAccessList, + /*OUT*/ PULONG AccessStatusList); + +NTOSAPI +NTSTATUS +NTAPI ZwAccessCheckByTypeResultList( /*IN*/ PSECURITY_DESCRIPTOR SecurityDescriptor, /*IN*/ PSID PrincipalSelfSid, @@ -2495,6 +3389,27 @@ NTOSAPI NTSTATUS NTAPI +NtAccessCheckByTypeResultListAndAuditAlarm( + /*IN*/ PUNICODE_STRING SubsystemName, + /*IN*/ PVOID HandleId, + /*IN*/ PUNICODE_STRING ObjectTypeName, + /*IN*/ PUNICODE_STRING ObjectName, + /*IN*/ PSECURITY_DESCRIPTOR SecurityDescriptor, + /*IN*/ PSID PrincipalSelfSid, + /*IN*/ ACCESS_MASK DesiredAccess, + /*IN*/ AUDIT_EVENT_TYPE AuditType, + /*IN*/ ULONG Flags, + /*IN*/ POBJECT_TYPE_LIST ObjectTypeList, + /*IN*/ ULONG ObjectTypeListLength, + /*IN*/ PGENERIC_MAPPING GenericMapping, + /*IN*/ BOOLEAN ObjectCreation, + /*OUT*/ PACCESS_MASK GrantedAccessList, + /*OUT*/ PULONG AccessStatusList, + /*OUT*/ PULONG GenerateOnClose); + +NTOSAPI +NTSTATUS +NTAPI ZwAccessCheckByTypeResultListAndAuditAlarm( /*IN*/ PUNICODE_STRING SubsystemName, /*IN*/ PVOID HandleId, @@ -2516,6 +3431,28 @@ NTOSAPI NTSTATUS NTAPI +NtAccessCheckByTypeResultListAndAuditAlarmByHandle( + /*IN*/ PUNICODE_STRING SubsystemName, + /*IN*/ PVOID HandleId, + /*IN*/ HANDLE TokenHandle, + /*IN*/ PUNICODE_STRING ObjectTypeName, + /*IN*/ PUNICODE_STRING ObjectName, + /*IN*/ PSECURITY_DESCRIPTOR SecurityDescriptor, + /*IN*/ PSID PrincipalSelfSid, + /*IN*/ ACCESS_MASK DesiredAccess, + /*IN*/ AUDIT_EVENT_TYPE AuditType, + /*IN*/ ULONG Flags, + /*IN*/ POBJECT_TYPE_LIST ObjectTypeList, + /*IN*/ ULONG ObjectTypeListLength, + /*IN*/ PGENERIC_MAPPING GenericMapping, + /*IN*/ BOOLEAN ObjectCreation, + /*OUT*/ PACCESS_MASK GrantedAccessList, + /*OUT*/ PULONG AccessStatusList, + /*OUT*/ PULONG GenerateOnClose); + +NTOSAPI +NTSTATUS +NTAPI ZwAccessCheckByTypeResultListAndAuditAlarmByHandle( /*IN*/ PUNICODE_STRING SubsystemName, /*IN*/ PVOID HandleId, @@ -2538,6 +3475,23 @@ NTOSAPI NTSTATUS NTAPI +NtOpenObjectAuditAlarm( + /*IN*/ PUNICODE_STRING SubsystemName, + /*IN*/ PVOID *HandleId, + /*IN*/ PUNICODE_STRING ObjectTypeName, + /*IN*/ PUNICODE_STRING ObjectName, + /*IN*/ PSECURITY_DESCRIPTOR SecurityDescriptor, + /*IN*/ HANDLE TokenHandle, + /*IN*/ ACCESS_MASK DesiredAccess, + /*IN*/ ACCESS_MASK GrantedAccess, + /*IN*/ PPRIVILEGE_SET Privileges /*OPTIONAL*/, + /*IN*/ BOOLEAN ObjectCreation, + /*IN*/ BOOLEAN AccessGranted, + /*OUT*/ PBOOLEAN GenerateOnClose); + +NTOSAPI +NTSTATUS +NTAPI ZwOpenObjectAuditAlarm( /*IN*/ PUNICODE_STRING SubsystemName, /*IN*/ PVOID *HandleId, @@ -2555,6 +3509,14 @@ NTOSAPI NTSTATUS NTAPI +NtCloseObjectAuditAlarm( + /*IN*/ PUNICODE_STRING SubsystemName, + /*IN*/ PVOID HandleId, + /*IN*/ BOOLEAN GenerateOnClose); + +NTOSAPI +NTSTATUS +NTAPI ZwCloseObjectAuditAlarm( /*IN*/ PUNICODE_STRING SubsystemName, /*IN*/ PVOID HandleId, @@ -2563,6 +3525,14 @@ NTOSAPI NTSTATUS NTAPI +NtDeleteObjectAuditAlarm( + /*IN*/ PUNICODE_STRING SubsystemName, + /*IN*/ PVOID HandleId, + /*IN*/ BOOLEAN GenerateOnClose); + +NTOSAPI +NTSTATUS +NTAPI ZwDeleteObjectAuditAlarm( /*IN*/ PUNICODE_STRING SubsystemName, /*IN*/ PVOID HandleId, @@ -2641,6 +3611,14 @@ NTOSAPI NTSTATUS NTAPI +NtPlugPlayControl( + /*IN*/ ULONG ControlCode, + /*IN OUT*/ PVOID Buffer, + /*IN*/ ULONG BufferLength); + +NTOSAPI +NTSTATUS +NTAPI ZwPlugPlayControl( /*IN*/ ULONG ControlCode, /*IN OUT*/ PVOID Buffer, @@ -2649,6 +3627,15 @@ NTOSAPI NTSTATUS NTAPI +NtGetPlugPlayEvent( + /*IN*/ ULONG Reserved1, + /*IN*/ ULONG Reserved2, + /*OUT*/ PVOID Buffer, + /*IN*/ ULONG BufferLength); + +NTOSAPI +NTSTATUS +NTAPI ZwGetPlugPlayEvent( /*IN*/ ULONG Reserved1, /*IN*/ ULONG Reserved2, @@ -2663,6 +3650,14 @@ NTOSAPI NTSTATUS NTAPI +NtRaiseException( + /*IN*/ PEXCEPTION_RECORD ExceptionRecord, + /*IN*/ PCONTEXT Context, + /*IN*/ BOOLEAN SearchFrames); + +NTOSAPI +NTSTATUS +NTAPI ZwRaiseException( /*IN*/ PEXCEPTION_RECORD ExceptionRecord, /*IN*/ PCONTEXT Context, @@ -2671,6 +3666,13 @@ NTOSAPI NTSTATUS NTAPI +NtContinue( + /*IN*/ PCONTEXT Context, + /*IN*/ BOOLEAN TestAlert); + +NTOSAPI +NTSTATUS +NTAPI ZwContinue( /*IN*/ PCONTEXT Context, /*IN*/ BOOLEAN TestAlert); @@ -2688,30 +3690,62 @@ NTOSAPI NTSTATUS NTAPI +NtSetLowWaitHighThread( + VOID); + +NTOSAPI +NTSTATUS +NTAPI ZwSetLowWaitHighThread( VOID); NTOSAPI NTSTATUS NTAPI +NtSetHighWaitLowThread( + VOID); + +NTOSAPI +NTSTATUS +NTAPI ZwSetHighWaitLowThread( VOID); NTOSAPI NTSTATUS NTAPI +NtLoadDriver( + /*IN*/ PUNICODE_STRING DriverServiceName); + +NTOSAPI +NTSTATUS +NTAPI ZwLoadDriver( /*IN*/ PUNICODE_STRING DriverServiceName); NTOSAPI NTSTATUS NTAPI +NtUnloadDriver( + /*IN*/ PUNICODE_STRING DriverServiceName); + +NTOSAPI +NTSTATUS +NTAPI ZwUnloadDriver( /*IN*/ PUNICODE_STRING DriverServiceName); NTOSAPI NTSTATUS NTAPI +NtFlushInstructionCache( + /*IN*/ HANDLE ProcessHandle, + /*IN*/ PVOID BaseAddress /*OPTIONAL*/, + /*IN*/ ULONG FlushSize); + +NTOSAPI +NTSTATUS +NTAPI ZwFlushInstructionCache( /*IN*/ HANDLE ProcessHandle, /*IN*/ PVOID BaseAddress /*OPTIONAL*/, @@ -2720,12 +3754,25 @@ NTOSAPI NTSTATUS NTAPI +NtFlushWriteBuffer( + VOID); + +NTOSAPI +NTSTATUS +NTAPI ZwFlushWriteBuffer( VOID); NTOSAPI NTSTATUS NTAPI +NtQueryDefaultLocale( + /*IN*/ BOOLEAN ThreadOrSystem, + /*OUT*/ PLCID Locale); + +NTOSAPI +NTSTATUS +NTAPI ZwQueryDefaultLocale( /*IN*/ BOOLEAN ThreadOrSystem, /*OUT*/ PLCID Locale); @@ -2733,6 +3780,13 @@ NTOSAPI NTSTATUS NTAPI +NtSetDefaultLocale( + /*IN*/ BOOLEAN ThreadOrSystem, + /*IN*/ LCID Locale); + +NTOSAPI +NTSTATUS +NTAPI ZwSetDefaultLocale( /*IN*/ BOOLEAN ThreadOrSystem, /*IN*/ LCID Locale); @@ -2740,18 +3794,36 @@ NTOSAPI NTSTATUS NTAPI +NtQueryDefaultUILanguage( + /*OUT*/ PLANGID LanguageId); + +NTOSAPI +NTSTATUS +NTAPI ZwQueryDefaultUILanguage( /*OUT*/ PLANGID LanguageId); NTOSAPI NTSTATUS NTAPI +NtSetDefaultUILanguage( + /*IN*/ LANGID LanguageId); + +NTOSAPI +NTSTATUS +NTAPI ZwSetDefaultUILanguage( /*IN*/ LANGID LanguageId); NTOSAPI NTSTATUS NTAPI +NtQueryInstallUILanguage( + /*OUT*/ PLANGID LanguageId); + +NTOSAPI +NTSTATUS +NTAPI ZwQueryInstallUILanguage( /*OUT*/ PLANGID LanguageId); @@ -2773,6 +3845,21 @@ NTOSAPI NTSTATUS NTAPI +ZwAllocateUuids( + /*OUT*/ PLARGE_INTEGER UuidLastTimeAllocated, + /*OUT*/ PULONG UuidDeltaTime, + /*OUT*/ PULONG UuidSequenceNumber, + /*OUT*/ PUCHAR UuidSeed); + +NTOSAPI +NTSTATUS +NTAPI +NtSetUuidSeed( + /*IN*/ PUCHAR UuidSeed); + +NTOSAPI +NTSTATUS +NTAPI ZwSetUuidSeed( /*IN*/ PUCHAR UuidSeed); @@ -2801,6 +3888,17 @@ NTOSAPI NTSTATUS NTAPI +NtRaiseHardError( + /*IN*/ NTSTATUS Status, + /*IN*/ ULONG NumberOfArguments, + /*IN*/ ULONG StringArgumentsMask, + /*IN*/ PULONG Arguments, + /*IN*/ HARDERROR_RESPONSE_OPTION ResponseOption, + /*OUT*/ PHARDERROR_RESPONSE Response); + +NTOSAPI +NTSTATUS +NTAPI ZwRaiseHardError( /*IN*/ NTSTATUS Status, /*IN*/ ULONG NumberOfArguments, @@ -2812,18 +3910,39 @@ NTOSAPI NTSTATUS NTAPI +NtSetDefaultHardErrorPort( + /*IN*/ HANDLE PortHandle); + +NTOSAPI +NTSTATUS +NTAPI ZwSetDefaultHardErrorPort( /*IN*/ HANDLE PortHandle); NTOSAPI NTSTATUS NTAPI +NtDisplayString( + /*IN*/ PUNICODE_STRING String); + +NTOSAPI +NTSTATUS +NTAPI ZwDisplayString( /*IN*/ PUNICODE_STRING String); NTOSAPI NTSTATUS NTAPI +NtCreatePagingFile( + /*IN*/ PUNICODE_STRING FileName, + /*IN*/ PULARGE_INTEGER InitialSize, + /*IN*/ PULARGE_INTEGER MaximumSize, + /*IN*/ ULONG Reserved); + +NTOSAPI +NTSTATUS +NTAPI ZwCreatePagingFile( /*IN*/ PUNICODE_STRING FileName, /*IN*/ PULARGE_INTEGER InitialSize, @@ -2843,6 +3962,14 @@ NTOSAPI NTSTATUS NTAPI +ZwAddAtom( + /*IN*/ PWSTR AtomName, + /*IN*/ ULONG AtomNameLength, + /*OUT*/ PRTL_ATOM Atom); + +NTOSAPI +NTSTATUS +NTAPI NtFindAtom( /*IN*/ PWSTR AtomName, /*IN*/ ULONG AtomNameLength, @@ -2851,9 +3978,23 @@ NTOSAPI NTSTATUS NTAPI +ZwFindAtom( + /*IN*/ PWSTR AtomName, + /*IN*/ ULONG AtomNameLength, + /*OUT*/ PRTL_ATOM Atom); + +NTOSAPI +NTSTATUS +NTAPI NtDeleteAtom( /*IN*/ RTL_ATOM Atom); +NTOSAPI +NTSTATUS +NTAPI +ZwDeleteAtom( + /*IN*/ RTL_ATOM Atom); + typedef enum _ATOM_INFORMATION_CLASS { AtomBasicInformation, AtomListInformation @@ -2869,6 +4010,16 @@ /*IN*/ ULONG AtomInformationLength, /*OUT*/ PULONG ReturnLength /*OPTIONAL*/); +NTOSAPI +NTSTATUS +NTAPI +ZwQueryInformationAtom( + /*IN*/ RTL_ATOM Atom, + /*IN*/ ATOM_INFORMATION_CLASS AtomInformationClass, + /*OUT*/ PVOID AtomInformation, + /*IN*/ ULONG AtomInformationLength, + /*OUT*/ PULONG ReturnLength /*OPTIONAL*/); + typedef struct _ATOM_BASIC_INFORMATION { USHORT ReferenceCount; USHORT Pinned; @@ -2884,6 +4035,15 @@ NTOSAPI NTSTATUS NTAPI +NtSetLdtEntries( + /*IN*/ ULONG Selector1, + /*IN*/ LDT_ENTRY LdtEntry1, + /*IN*/ ULONG Selector2, + /*IN*/ LDT_ENTRY LdtEntry2); + +NTOSAPI +NTSTATUS +NTAPI ZwSetLdtEntries( /*IN*/ ULONG Selector1, /*IN*/ LDT_ENTRY LdtEntry1, @@ -2897,6 +4057,13 @@ /*IN*/ ULONG ControlCode, /*IN*/ PVOID ControlData); +NTOSAPI +NTSTATUS +NTAPI +ZwVdmControl( + /*IN*/ ULONG ControlCode, + /*IN*/ PVOID ControlData); + #pragma pack(pop) #ifdef __cplusplus Modified: trunk/cegcc/src/w32api/include/ddk/ntifs.h =================================================================== --- trunk/cegcc/src/w32api/include/ddk/ntifs.h 2009-09-06 23:32:30 UTC (rev 1374) +++ trunk/cegcc/src/w32api/include/ddk/ntifs.h 2009-09-06 23:45:00 UTC (rev 1375) @@ -136,6 +136,15 @@ #define FILE_SUPPORTS_ENCRYPTION 0x00020000 #define FILE_NAMED_STREAMS 0x00040000 #define FILE_READ_ONLY_VOLUME 0x00080000 +#define FILE_SEQUENTIAL_WRITE_ONCE 0x00100000 +#define FILE_SUPPORTS_TRANSACTIONS 0x00200000 +/* Note: These flags only have a meaning starting with Windows 7/2008 R2. + Their absence on older OSes does NOT mean that a filesystem is missing + that property. */ +#define FILE_SUPPORTS_HARD_LINKS 0x00400000 +#define FILE_SUPPORTS_EXTENDED_ATTRIBUTES 0x00800000 +#define FILE_SUPPORTS_OPEN_BY_FILE_ID 0x01000000 +#define FILE_SUPPORTS_USN_JOURNAL 0x02000000 #define FILE_PIPE_BYTE_STREAM_TYPE 0x00000000 #define FILE_PIPE_MESSAGE_TYPE 0x00000001 @@ -4060,6 +4069,18 @@ NTSYSAPI NTSTATUS NTAPI +NtAdjustPrivilegesToken ( + /*IN*/ HANDLE TokenHandle, + /*IN*/ BOOLEAN DisableAllPrivileges, + /*IN*/ PTOKEN_PRIVILEGES NewState, + /*IN*/ ULONG BufferLength, + /*OUT*/ PTOKEN_PRIVILEGES PreviousState /*OPTIONAL*/, + /*OUT*/ PULONG ReturnLength +); + +NTSYSAPI +NTSTATUS +NTAPI ZwAdjustPrivilegesToken ( /*IN*/ HANDLE TokenHandle, /*IN*/ BOOLEAN DisableAllPrivileges, @@ -4074,6 +4095,13 @@ NTSYSAPI NTSTATUS NTAPI +NtAlertThread ( + /*IN*/ HANDLE ThreadHandle +); + +NTSYSAPI +NTSTATUS +NTAPI ZwAlertThread ( /*IN*/ HANDLE ThreadHandle ); @@ -4081,6 +4109,18 @@ NTSYSAPI NTSTATUS NTAPI +NtAllocateVirtualMemory ( + /*IN*/ HANDLE ProcessHandle, + /*IN OUT*/ PVOID *BaseAddress, + /*IN*/ ULONG ZeroBits, + /*IN OUT*/ PULONG RegionSize, + /*IN*/ ULONG AllocationType, + /*IN*/ ULONG Protect +); + +NTSYSAPI +NTSTATUS +NTAPI ZwAllocateVirtualMemory ( /*IN*/ HANDLE ProcessHandle, /*IN OUT*/ PVOID *BaseAddress, @@ -4093,6 +4133,23 @@ NTSYSAPI NTSTATUS NTAPI +NtAccessCheckAndAuditAlarm ( + /*IN*/ PUNICODE_STRING SubsystemName, + /*IN*/ PVOID HandleId, + /*IN*/ PUNICODE_STRING ObjectTypeName, + /*IN*/ PUNICODE_STRING ObjectName, + /*IN*/ PSECURITY_DESCRIPTOR SecurityDescriptor, + /*IN*/ ACCESS_MASK DesiredAccess, + /*IN*/ PGENERIC_MAPPING GenericMapping, + /*IN*/ BOOLEAN ObjectCreation, + /*OUT*/ PACCESS_MASK GrantedAccess, + /*OUT*/ PBOOLEAN AccessStatus, + /*OUT*/ PBOOLEAN GenerateOnClose +); + +NTSYSAPI +NTSTATUS +NTAPI ZwAccessCheckAndAuditAlarm ( /*IN*/ PUNICODE_STRING SubsystemName, /*IN*/ PVOID HandleId, @@ -4112,6 +4169,14 @@ NTSYSAPI NTSTATUS NTAPI +NtCancelIoFile ( + /*IN*/ HANDLE FileHandle, + /*OUT*/ PIO_STATUS_BLOCK IoStatusBlock +); + +NTSYSAPI +NTSTATUS +NTAPI ZwCancelIoFile ( /*IN*/ HANDLE FileHandle, /*OUT*/ PIO_STATUS_BLOCK IoStatusBlock @@ -4122,6 +4187,13 @@ NTSYSAPI NTSTATUS NTAPI +NtClearEvent ( + /*IN*/ HANDLE EventHandle +); + +NTSYSAPI +NTSTATUS +NTAPI ZwClearEvent ( /*IN*/ HANDLE EventHandle ); @@ -4129,6 +4201,15 @@ NTSYSAPI NTSTATUS NTAPI +NtCloseObjectAuditAlarm ( + /*IN*/ PUNICODE_STRING SubsystemName, + /*IN*/ PVOID HandleId, + /*IN*/ BOOLEAN GenerateOnClose +); + +NTSYSAPI +NTSTATUS +NTAPI ZwCloseObjectAuditAlarm ( /*IN*/ PUNICODE_STRING SubsystemName, /*IN*/ PVOID HandleId, @@ -4138,6 +4219,19 @@ NTSYSAPI NTSTATUS NTAPI +NtCreateSection ( + /*OUT*/ PHANDLE SectionHandle, + /*IN*/ ACCESS_MASK DesiredAccess, + /*IN*/ POBJECT_ATTRIBUTES ObjectAttributes /*OPTIONAL*/, + /*IN*/ PLARGE_INTEGER MaximumSize /*OPTIONAL*/, + /*IN*/ ULONG SectionPageProtection, + /*IN*/ ULONG AllocationAttributes, + /*IN*/ HANDLE FileHandle /*OPTIONAL*/ +); + +NTSYSAPI +NTSTATUS +NTAPI ZwCreateSection ( /*OUT*/ PHANDLE SectionHandle, /*IN*/ ACCESS_MASK DesiredAccess, @@ -4151,6 +4245,16 @@ NTSYSAPI NTSTATUS NTAPI +NtCreateSymbolicLinkObject ( + /*OUT*/ PHANDLE SymbolicLinkHandle, + /*IN*/ ACCESS_MASK DesiredAccess, + /*IN*/ POBJECT_ATTRIBUTES ObjectAttributes, + /*IN*/ PUNICODE_STRING TargetName +); + +NTSYSAPI +NTSTATUS +NTAPI ZwCreateSymbolicLinkObject ( /*OUT*/ PHANDLE SymbolicLinkHandle, /*IN*/ ACCESS_MASK DesiredAccess, @@ -4161,6 +4265,13 @@ NTSYSAPI NTSTATUS NTAPI +NtDeleteFile ( + /*IN*/ POBJECT_ATTRIBUTES ObjectAttributes +); + +NTSYSAPI +NTSTATUS +NTAPI ZwDeleteFile ( /*IN*/ POBJECT_ATTRIBUTES ObjectAttributes ); @@ -4168,6 +4279,14 @@ NTSYSAPI NTSTATUS NTAPI +NtDeleteValueKey ( + /*IN*/ HANDLE Handle, + /*IN*/ PUNICODE_STRING Name +); + +NTSYSAPI +NTSTATUS +NTAPI ZwDeleteValueKey ( /*IN*/ HANDLE Handle, /*IN*/ PUNICODE_STRING Name @@ -4176,6 +4295,22 @@ NTSYSAPI NTSTATUS NTAPI +NtDeviceIoControlFile ( + /*IN*/ HANDLE FileHandle, + /*IN*/ HANDLE Event /*OPTIONAL*/, + /*IN*/ PIO_APC_ROUTINE ApcRoutine /*OPTIONAL*/, + /*IN*/ PVOID ApcContext /*OPTIONAL*/, + /*OUT*/ PIO_STATUS_BLOCK IoStatusBlock, + /*IN*/ ULONG IoControlCode, + /*IN*/ PVOID InputBuffer /*OPTIONAL*/, + /*IN*/ ULONG InputBufferLength, + /*OUT*/ PVOID OutputBuffer /*OPTIONAL*/, + /*IN*/ ULONG OutputBufferLength +); + +NTSYSAPI +NTSTATUS +NTAPI ZwDeviceIoControlFile ( /*IN*/ HANDLE FileHandle, /*IN*/ HANDLE Event /*OPTIONAL*/, @@ -4192,6 +4327,13 @@ NTSYSAPI NTSTATUS NTAPI +NtDisplayString ( + /*IN*/ PUNICODE_STRING String +); + +NTSYSAPI +NTSTATUS +NTAPI ZwDisplayString ( /*IN*/ PUNICODE_STRING String ); @@ -4199,6 +4341,19 @@ NTSYSAPI NTSTATUS NTAPI +NtDuplicateObject ( + /*IN*/ HANDLE SourceProcessHandle, + /*IN*/ HANDLE SourceHandle, + /*IN*/ HANDLE TargetProcessHandle /*OPTIONAL*/, + /*OUT*/ PHANDLE TargetHandle /*OPTIONAL*/, + /*IN*/ ACCESS_MASK DesiredAccess, + /*IN*/ ULONG HandleAttributes, + /*IN*/ ULONG Options +); + +NTSYSAPI +NTSTATUS +NTAPI ZwDuplicateObject ( /*IN*/ HANDLE SourceProcessHandle, /*IN*/ HANDLE SourceHandle, @@ -4212,6 +4367,18 @@ NTSYSAPI NTSTATUS NTAPI +NtDuplicateToken ( + /*IN*/ HANDLE ExistingTokenHandle, + /*IN*/ ACCESS_MASK DesiredAccess, + /*IN*/ POBJECT_ATTRIBUTES ObjectAttributes, + /*IN*/ BOOLEAN EffectiveOnly, + /*IN*/ TOKEN_TYPE TokenType, + /*OUT*/ PHANDLE NewTokenHandle +); + +NTSYSAPI +NTSTATUS +NTAPI ZwDuplicateToken ( /*IN*/ HANDLE ... [truncated message content] |
From: <ped...@us...> - 2009-09-06 23:32:42
|
Revision: 1374 http://cegcc.svn.sourceforge.net/cegcc/?rev=1374&view=rev Author: pedroalves Date: 2009-09-06 23:32:30 +0000 (Sun, 06 Sep 2009) Log Message: ----------- * Makefile.in (install-headers): New rule. Modified Paths: -------------- trunk/cegcc/src/w32api/ChangeLog.ce trunk/cegcc/src/w32api/Makefile.in Modified: trunk/cegcc/src/w32api/ChangeLog.ce =================================================================== --- trunk/cegcc/src/w32api/ChangeLog.ce 2009-09-06 23:23:06 UTC (rev 1373) +++ trunk/cegcc/src/w32api/ChangeLog.ce 2009-09-06 23:32:30 UTC (rev 1374) @@ -1,3 +1,7 @@ +2009-09-07 Pedro Alves <ped...@us...> + + * Makefile.in (install-headers): New rule. + 2009-08-30 Danny Backx <dan...@us...> * include/errorrep.h: Provide with WinCE > 5 too. Modified: trunk/cegcc/src/w32api/Makefile.in =================================================================== --- trunk/cegcc/src/w32api/Makefile.in 2009-09-06 23:23:06 UTC (rev 1373) +++ trunk/cegcc/src/w32api/Makefile.in 2009-09-06 23:32:30 UTC (rev 1374) @@ -123,7 +123,7 @@ test: $(MAKE) -C lib test $(FLAGS_TO_PASS) -install uninstall: +install install-headers uninstall: for i in $(SUBDIRS); do \ (cd $$i; $(MAKE) $@); \ done This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ped...@us...> - 2009-09-06 23:23:18
|
Revision: 1373 http://cegcc.svn.sourceforge.net/cegcc/?rev=1373&view=rev Author: pedroalves Date: 2009-09-06 23:23:06 +0000 (Sun, 06 Sep 2009) Log Message: ----------- Merge from upstream (at 3.16 + patches). Modified Paths: -------------- trunk/cegcc/src/mingw/CRT_fp10.c trunk/cegcc/src/mingw/CRT_fp8.c trunk/cegcc/src/mingw/CVS/Entries trunk/cegcc/src/mingw/ChangeLog trunk/cegcc/src/mingw/ChangeLog.mingw32ce trunk/cegcc/src/mingw/Makefile.in trunk/cegcc/src/mingw/configure trunk/cegcc/src/mingw/configure.in trunk/cegcc/src/mingw/cpu_features.c trunk/cegcc/src/mingw/crt1.c trunk/cegcc/src/mingw/include/CVS/Entries trunk/cegcc/src/mingw/include/_mingw.h trunk/cegcc/src/mingw/include/inttypes.h trunk/cegcc/src/mingw/include/math.h trunk/cegcc/src/mingw/include/stdint.h trunk/cegcc/src/mingw/include/stdio.h trunk/cegcc/src/mingw/include/stdlib.h trunk/cegcc/src/mingw/include/string.h trunk/cegcc/src/mingw/include/unistd.h trunk/cegcc/src/mingw/include/wchar.h trunk/cegcc/src/mingw/mingwex/CVS/Entries trunk/cegcc/src/mingw/mingwex/Makefile.in trunk/cegcc/src/mingw/mingwex/gdtoa/CVS/Entries trunk/cegcc/src/mingw/mingwex/gdtoa/README trunk/cegcc/src/mingw/mingwex/gdtoa/dmisc.c trunk/cegcc/src/mingw/mingwex/gdtoa/dtoa.c trunk/cegcc/src/mingw/mingwex/gdtoa/g__fmt.c trunk/cegcc/src/mingw/mingwex/gdtoa/g_dfmt.c trunk/cegcc/src/mingw/mingwex/gdtoa/g_ffmt.c trunk/cegcc/src/mingw/mingwex/gdtoa/g_xfmt.c trunk/cegcc/src/mingw/mingwex/gdtoa/gd_arith.h trunk/cegcc/src/mingw/mingwex/gdtoa/gdtoa.c trunk/cegcc/src/mingw/mingwex/gdtoa/gdtoa.h trunk/cegcc/src/mingw/mingwex/gdtoa/gdtoaimp.h trunk/cegcc/src/mingw/mingwex/gdtoa/gethex.c trunk/cegcc/src/mingw/mingwex/gdtoa/gmisc.c trunk/cegcc/src/mingw/mingwex/gdtoa/hd_init.c trunk/cegcc/src/mingw/mingwex/gdtoa/hexnan.c trunk/cegcc/src/mingw/mingwex/gdtoa/misc.c trunk/cegcc/src/mingw/mingwex/gdtoa/qnan.c trunk/cegcc/src/mingw/mingwex/gdtoa/smisc.c trunk/cegcc/src/mingw/mingwex/gdtoa/strtodg.c trunk/cegcc/src/mingw/mingwex/gdtoa/strtodnrp.c trunk/cegcc/src/mingw/mingwex/gdtoa/strtof.c trunk/cegcc/src/mingw/mingwex/gdtoa/strtopx.c trunk/cegcc/src/mingw/mingwex/gdtoa/sum.c trunk/cegcc/src/mingw/mingwex/gdtoa/ulp.c trunk/cegcc/src/mingw/mingwex/getopt.c trunk/cegcc/src/mingw/mingwex/math/CVS/Entries trunk/cegcc/src/mingw/mingwex/math/cephes_mconf.h trunk/cegcc/src/mingw/mingwex/math/erfl.c trunk/cegcc/src/mingw/mingwex/math/fminf.c trunk/cegcc/src/mingw/mingwex/math/lgamma.c trunk/cegcc/src/mingw/mingwex/math/lgammal.c trunk/cegcc/src/mingw/mingwex/math/powl.c trunk/cegcc/src/mingw/mingwex/math/sinhl.c trunk/cegcc/src/mingw/mingwex/math/tanhl.c trunk/cegcc/src/mingw/mingwex/math/tgamma.c trunk/cegcc/src/mingw/mingwex/math/tgammal.c trunk/cegcc/src/mingw/mingwex/stdio/CVS/Entries trunk/cegcc/src/mingw/mingwex/stdio/pformat.c trunk/cegcc/src/mingw/mingwex/usleep.c trunk/cegcc/src/mingw/msvcrt.def.in trunk/cegcc/src/mingw/profile/CVS/Entries trunk/cegcc/src/mingw/profile/Makefile.in trunk/cegcc/src/mingw/pseudo-reloc.c Added Paths: ----------- trunk/cegcc/src/mingw/mingwex/gdtoa/README.mingw trunk/cegcc/src/mingw/mingwex/gdtoa/gdtoa_fltrnds.h Removed Paths: ------------- trunk/cegcc/src/mingw/mingwex/aclocal.m4 trunk/cegcc/src/mingw/mingwex/configure trunk/cegcc/src/mingw/mingwex/configure.in trunk/cegcc/src/mingw/profile/aclocal.m4 Modified: trunk/cegcc/src/mingw/CRT_fp10.c =================================================================== --- trunk/cegcc/src/mingw/CRT_fp10.c 2009-09-06 21:23:17 UTC (rev 1372) +++ trunk/cegcc/src/mingw/CRT_fp10.c 2009-09-06 23:23:06 UTC (rev 1373) @@ -15,6 +15,8 @@ void _fpreset (void) { __asm__ ( "fninit" ) ;} +#if defined(__PCC__) +void _Pragma("alias _fpreset") fpreset(void); +#else void __attribute__ ((alias ("_fpreset"))) fpreset(void); - #endif Modified: trunk/cegcc/src/mingw/CRT_fp8.c =================================================================== --- trunk/cegcc/src/mingw/CRT_fp8.c 2009-09-06 21:23:17 UTC (rev 1372) +++ trunk/cegcc/src/mingw/CRT_fp8.c 2009-09-06 23:23:06 UTC (rev 1373) @@ -17,4 +17,8 @@ void _fpreset (void) { (*__IMP(_fpreset))(); } +#if defined(__PCC__) +void _Pragma("alias _fpreset") fpreset(void); +#else void __attribute__ ((alias ("_fpreset"))) fpreset(void); +#endif Modified: trunk/cegcc/src/mingw/CVS/Entries =================================================================== --- trunk/cegcc/src/mingw/CVS/Entries 2009-09-06 21:23:17 UTC (rev 1372) +++ trunk/cegcc/src/mingw/CVS/Entries 2009-09-06 23:23:06 UTC (rev 1373) @@ -6,28 +6,19 @@ D/mingwex//// D/profile//// D/samples//// -/CRT_fp10.c/1.2/Wed Aug 23 23:25:48 2006// -/CRT_fp8.c/1.2/Wed Aug 23 23:25:48 2006// /dllcrt1.c/1.4/Wed Aug 23 23:25:50 2006/-ko/ -/pseudo-reloc.c/1.1/Wed Aug 23 23:25:50 2006// /CONTRIBUTORS/1.1/Fri Feb 8 14:20:02 2008// /CRT_noglob.c/1.2/Fri Feb 8 14:20:02 2008/-ko/ /CRTfmode.c/1.6/Thu Feb 5 07:28:02 2009/-ko/ /CRTglob.c/1.2/Fri Feb 8 14:20:02 2008/-ko/ /CRTinit.c/1.2/Fri Feb 8 14:20:02 2008/-ko/ -/ChangeLog/1.427/Thu Feb 5 07:28:03 2009/-ko/ /DISCLAIMER/1.2/Fri Feb 8 14:20:02 2008// -/Makefile.in/1.88/Result of merge+Thu Feb 5 07:28:03 2009/-ko/ /README/1.2/Fri Feb 8 14:20:02 2008// /TODO/1.1/Fri Feb 8 14:20:02 2008// /aclocal.m4/1.6/Thu Feb 5 07:28:03 2009// /binmode.c/1.1/Fri Feb 8 14:20:02 2008// /config.guess/1.2/Fri Feb 8 14:20:02 2008// -/configure/1.23/Result of merge+Thu Feb 5 07:28:03 2009/-ko/ -/configure.in/1.19/Result of merge/-ko/ -/cpu_features.c/1.2/Result of merge// /cpu_features.h/1.1/Fri Feb 8 14:20:02 2008// -/crt1.c/1.12/Thu Feb 5 07:28:04 2009/-ko/ /crtdll.def/1.3/Fri Feb 8 14:20:02 2008/-ko/ /crtmt.c/1.1.1.1/Fri Feb 8 14:20:02 2008/-ko/ /crtst.c/1.1.1.1/Fri Feb 8 14:20:02 2008/-ko/ @@ -40,7 +31,6 @@ /main.c/1.2/Fri Feb 8 14:20:02 2008/-ko/ /mkinstalldirs/1.1/Fri Feb 8 14:20:02 2008// /moldname.def.in/1.8/Result of merge/-ko/ -/msvcrt.def.in/1.10/Thu Feb 5 07:28:04 2009// /mthr.c/1.2/Fri Feb 8 14:20:02 2008/-ko/ /mthr_init.c/1.2/Fri Feb 8 14:20:02 2008/-ko/ /mthr_stub.c/1.3/Fri Feb 8 14:20:02 2008/-ko/ @@ -53,3 +43,13 @@ /txtmode.c/1.1/Fri Feb 8 14:20:02 2008// /wcscmpi.c/1.2/Fri Feb 8 14:20:02 2008// D/man//// +/CRT_fp10.c/1.3/Result of merge+Sun Sep 6 22:43:02 2009// +/CRT_fp8.c/1.3/Result of merge// +/ChangeLog/1.448/Sun Sep 6 22:43:02 2009/-ko/ +/Makefile.in/1.89/Result of merge+Sun Sep 6 22:43:02 2009/-ko/ +/configure/1.24/Result of merge+Sun Sep 6 22:43:03 2009/-ko/ +/configure.in/1.20/Result of merge+Sun Sep 6 22:43:03 2009/-ko/ +/cpu_features.c/1.3/Result of merge// +/crt1.c/1.13/Sun Sep 6 22:43:03 2009/-ko/ +/msvcrt.def.in/1.11/Sun Sep 6 22:43:03 2009// +/pseudo-reloc.c/1.2/Result of merge+Sun Sep 6 22:43:03 2009// Modified: trunk/cegcc/src/mingw/ChangeLog =================================================================== --- trunk/cegcc/src/mingw/ChangeLog 2009-09-06 21:23:17 UTC (rev 1372) +++ trunk/cegcc/src/mingw/ChangeLog 2009-09-06 23:23:06 UTC (rev 1373) @@ -1,3 +1,169 @@ +2009-09-01 Keith Marshall <kei...@us...> + + Avoid multiple link time definitions of _printf() for C++; + (problem reported by Alexander Shaduri, via MinGW-users ML). + + * include/stdio.h [__USE_MINGW_ANSI_STDIO]: + (__mingw_stdio_redirect__) [__cplusplus]: remove `static' keyword. + +2009-08-14 Chris Sutcliffe <ir0...@us...> + + * include/_mingw.h: Increment version to 3.16. + +2009-08-08 Danny Smith <dan...@us...> + + * include/math.h (__fpclassifyl, __isnan, __isnanf, isnanl, __signbit, + __signbitf, __signbitl, sinhf, tanhf, expf, frexpf, ldexpf, hypotf, powf, + __fp_unordered_compare): Add prototypes. + * include/stdio.h (vsnwprintf): Add prototype. + * include/wchar.h (vsnwprintf): Add prototype. + * include/stdlib.h (_Exit): Protect inline definition with !__STRICT_ANSI__. + * include/unistd.h (ftruncate): Move prototype out of __NO_INLINE__ guard. + +2009-07-29 Keith Marshall <kei...@us...> + + Correct disposition of wchar_t output in printf(). + + * mingwex/stdio/pformat.c (__pformat) [%C]: Create new instance of... + (argval): ...this, in inner scope, with singular type `wchar_t'; use + it to pass one wchar to __pformat_wputchars(), for output. + +2009-07-27 Chris Sutcliffe <ir0...@us...> + + * mingwex/stdio/pformat.c: Implement better fix for type punned warning. + +2009-07-27 Keith Marshall <kei...@us...> + + Convert to monolithic configuration procedure. + + * configure.in (AC_CHECK_TOOL): All instances; tabulate arguments. + (AC_SUBST): Use its 2nd argument to initialise MinGW default settings. + (PACKAGE_TARNAME) [target_os ~ cygwin]: Redefine it as appropriate. + (W32API_INCLUDE): Redefine; make it relative to `top_srcdir'. + (CRT0S): Relocate from `profile'; define it as appropriate. + (LIBM_A): Define and AC_SUBST it unconditionally. + (AC_CONFIG_SUBDIRS): Remove; none to configure. + (AC_OUTPUT_FILES): Add `Makefile' for each of... + (mingwex, profile): ...these subdirectories. + + * configure: Regenerated. + + * Makefile.in (PACKAGE, host_os): Let AC_SUBST define them. + (top_srcdir, top_builddir): New macros; let AC_SUBST define them. + (datarootdir): New macro; autoconf > 2.59 wants AC_SUBST to define it. + (SUBDIRS): Define explicitly, to run recursive `make' in... + (mingwex, profile): ...these; simplify build commands... + (rootme, rootsrc): ...without these shell variables. + (all, subdirs): Delete redundant build commands. + (FIXME): Flag various issues for follow up. + + * mingwex/Makefile.in (INCLUDES): Redefined macro; refer it to... + (top_srcdir): ...this new macro; let AC_SUBST define it. + (top_builddir, datarootdir): New macros; let AC_SUBST define them. + (Makefile): Make it depend on... + (top_builddir/config.status): ...this, itself depending on... + (top_srcdir/configure): ...this. + (FIXME): Flag various issues for follow up. + + * mingwex/aclocal.m4: File no longer required; delete it. + * mingwex/configure mingwex/configure.in: Likewise. + + * profile/Makefile.in (INCLUDES): Redefined macro; refer it to... + (top_srcdir): ...this new macro; let AC_SUBST define it. + (top_builddir, datarootdir): New macros; let AC_SUBST define them. + (Makefile): Make it depend on... + (top_builddir/config.status): ...this, itself depending on... + (top_srcdir/configure): ...this. + (FIXME): Flag various issues for follow up. + + * profile/aclocal.m4: File no longer required; delete it. + * profile/configure profile/configure.in: Likewise. + +2009-07-23 Chris Sutcliffe <ir0...@us...> + + * msvcrt.def.in: disable time symbol for libmsvcr90.a and libmsvcr90d.a due + to complaints that it causes issues. + +2009-07-23 Jacky Lai <cra...@us...> + + * mingwex/math/fminf.c: switch to using __isnanf() as opposed to _isnan(). + +2009-07-18 Gregory McGarry <gre...@us...> + + * include/inttypes.h include/math.h include/stdio.h include/stdlib.h + include/string.h include/unistd.h include/wchar.h: Add __NO_INLINE__ guard + to all inline functions. + +2009-07-18 Gregory McGarry <gre...@us...> + + * CRT_fp8.c: Add PCC alternative to GCC-specific constructs. + * CRT_fp10.c: Ditto. + +2009-07-18 Gregory McGarry <gre...@us...> + + * cpu_features.c: replace gcc-specific construct with portable alternative + and match the code a few lines above. + * crt1.c: remove gcc-specific noreturn attribute with mingw alternative + +2009-07-18 Gregory McGarry <gre...@us...> + + * include/_mingw.h: Changes required for PCC compiler. + +2009-07-18 Jeff Lu <jl...@ya...> + + * mingwex/usleep.c: round up to next ms + +2009-07-17 Chris Sutcliffe <ir0...@us...> + + * mingwex/math/cephes_mconf.h mingwex/math/erfl.c mingwex/math/lgamma.c + mingwex/math/lgammal.c mingwex/math/powl.c mingwex/math/sinhl.c + mingwex/math/tanhl.c mingwex/math/tgamma.c mingwex/math/tgammal.c: Based on + the fixes from the mingw-w64 code tree, fixed strict-aliasing issues. + +2009-07-12 Chris Sutcliffe <ir0...@us...> + + * mingwex/stdio/pformat.c: Fix compiler warnings with GCC 4.4.0. + +2009-06-28 Ozkan Sezer <se...@us...> + + * mingwex/gdtoa/README.mingw mingwex/gdtoa/gdtoa_fltrnds.h: New files. + * mingwex/gdtoa/README mingwex/gdtoa/dmisc.c mingwex/gdtoa/dtoa.c + mingwex/gdtoa/g__fmt.c mingwex/gdtoa/g_dfmt.c mingwex/gdtoa/g_ffmt.c + mingwex/gdtoa/g_xfmt.c mingwex/gdtoa/gd_arith.h mingwex/gdtoa/gd_qnan.h + mingwex/gdtoa/gdtoa.c mingwex/gdtoa/gdtoa.h mingwex/gdtoa/gdtoaimp.h + mingwex/gdtoa/gethex.c mingwex/gdtoa/gmisc.c mingwex/gdtoa/hd_init.c + mingwex/gdtoa/hexnan.c mingwex/gdtoa/misc.c mingwex/gdtoa/qnan.c + mingwex/gdtoa/smisc.c mingwex/gdtoa/strtodg.c mingwex/gdtoa/strtodnrp.c + mingwex/gdtoa/strtof.c mingwex/gdtoa/strtopx.c mingwex/gdtoa/sum.c + mingwex/gdtoa/ulp.c: Update the gdtoa library to match the netlib.org + sources as of Apr. 20, 2009. Update further to match the sources in + the mingw-w64 tree as of June 28, 2009, by removing IBM, CRAY and VAX + code, removing KR_headers, ANSI, Void and Char ifdefs, renaming the + double/ulong union from U to dbl_union for better grepping and white- + space tidy-ups. + +2009-06-16 Chris Sutcliffe <ir0...@us...> + + * include/stdlib.h (_wtof): Define. + +2009-04-11 Danny Smith <dan...@us...> + + * include/stdint.h (int_fast8_t): Specify as signed char. + (INT8_C, UINT8_C, INT16_C, UINT16_C): Simplify: just allow promotion to int. + (INT32_C, UINT32_C): Remove 'L' type specifier on constant. + +2009-03-05 Kai Tietz <kai...@on...> + + * pseudo-reloc.c: Rewrite to enable pseudo_reloc version 2. + +2009-02-08 Keith Marshall <kei...@us...> + + MinGW-Feature-Request [2222263]: Make getopt() GNU / BSD compatibile. + (Requested by Robert Riebisch) + + * mingwex/getopt.c (getopt_parse): Track external increments of... + (optind): ...this global variable. + 2009-01-10 Chris Sutcliffe <ir0...@us...> * include/_mingw.h: Increment version to 3.15.2. Modified: trunk/cegcc/src/mingw/ChangeLog.mingw32ce =================================================================== --- trunk/cegcc/src/mingw/ChangeLog.mingw32ce 2009-09-06 21:23:17 UTC (rev 1372) +++ trunk/cegcc/src/mingw/ChangeLog.mingw32ce 2009-09-06 23:23:06 UTC (rev 1373) @@ -1,5 +1,9 @@ 2009-09-06 Pedro Alves <ped...@us...> + Merge from upstream (at 3.16 + patches). + +2009-09-06 Pedro Alves <ped...@us...> + * Makefile.in (libceoldname.a): Specify COREDLL.dll as dll name, not coredll.dll. (libcoredll6.a): Remove rule. Modified: trunk/cegcc/src/mingw/Makefile.in =================================================================== --- trunk/cegcc/src/mingw/Makefile.in 2009-09-06 21:23:17 UTC (rev 1372) +++ trunk/cegcc/src/mingw/Makefile.in 2009-09-06 23:23:06 UTC (rev 1373) @@ -17,11 +17,17 @@ # This makefile requires GNU make. +PACKAGE = @PACKAGE_TARNAME@ VERSION = @PACKAGE_VERSION@ CYGRELEASE = 1 VPATH = @srcdir@ srcdir = @srcdir@ +top_srcdir = @top_srcdir@ +top_builddir = @top_builddir@ + +# FIXME: I see no reason to define `objdir'; +# it appears to be unused, and could be removed. objdir = . build = @build@ @@ -33,20 +39,27 @@ with_cross_host = @with_cross_host@ prefix = @prefix@ conf_prefix = @prefix@ -# FIXME: this needs an appropriate AC_SUBST -host_os = mingw32 +host_os = @host_os@ -ifneq (,$(findstring cygwin, $(target_alias))) -PACKAGE = mingw-runtime -else -PACKAGE = mingwrt -endif - +datarootdir = @datarootdir@ program_transform_name = @program_transform_name@ exec_prefix = @exec_prefix@ bindir = @bindir@ libdir = @libdir@ + ifneq (,$(findstring cygwin,$(target_alias))) +# +# FIXME: What is the purpose of such logic, testing `target_alias'? +# +# Firstly, there is no code generator being built here. The concept +# of `target' is meaningless, and there is no valid reason to expect +# that `target_alias' would be anything other than an empty string. +# Thus, the validity of such tests is extremely suspect. +# +# Secondly, the decisions being taken, on the basis of these tests, +# rightfully belong in the configure script; all this logic should be +# removed, and properly implemented in `configure.in'. +# mandir = $(prefix)/share/man mansection = mingw else @@ -67,6 +80,15 @@ infodir = @infodir@ includedir = @includedir@ ifneq (,$(findstring cygwin,$(host_alias))) +# +# FIXME: Doubtful use of `target_alias', again. +# +# Here we not only have a dubious test, based on `target_alias', +# but we also assign local alternatives for the standard autoconf +# installation path macros. This should not be necessary; the +# configure script should simply assign appropriate values to +# the standard macros, which should be used herein. +# inst_bindir:=$(tooldir)/bin inst_includedir:=$(tooldir)/include/mingw inst_libdir:=$(tooldir)/lib/mingw @@ -79,6 +101,14 @@ inst_docdir:=$(prefix)/share/doc/mingw-runtime else ifneq (,$(with_cross_host)) +# +# FIXME: What is the intended purpose of `with_cross_host'? +# +# Notwithstanding that this conforms to no known standard, and +# is completely undocumented, it does not belong here; every one +# of these settings is the prerogative of the configure script, +# and they should use standard names, as noted above. +# inst_bindir:=$(tooldir)/bin inst_includedir:=$(tooldir)/include inst_libdir:=$(tooldir)/lib @@ -105,6 +135,14 @@ CC := @CC@ ifneq (,$(findstring cygwin,$(host_alias))) +# +# FIXME: What is the purpose of this hideous kludge? +# +# Again, we have a dubious use of `target_alias'. Worse, `CC' +# should have been appropriately set by the configure script; to +# mess with it, in this fashion, should neither be necessary, +# nor accepted. +# override CC := ${filter-out -L% -B%,${shell echo $(CC) | sed -e 's%\(-isystem\|-iwithprefixbefore\) *[^ ]*\( \|$$\)% %g'}} endif # FIXME: Which is it, CC or CC_FOR_TARGET? @@ -116,6 +154,10 @@ # compiling with Cygwin? NO_CYGWIN := @NO_CYGWIN@ ifdef NO_CYGWIN +# +# FIXME: Again, this should have been resolved by `configure', +# and this kludge should be unnecessary. +# override CC := ${NO_CYGWIN} $(firstword ${CC}) endif @@ -158,8 +200,10 @@ TARFLAGS = z TARFILEEXT = .tar.gz -SUBDIRS := @subdirs@ +SUBDIRS = mingwex profile +# FIXME: Most of these are either redundant, or should be set +# directly in the subdirectories' Makefiles, by `configure'. FLAGS_TO_PASS:=\ AS="$(AS)" \ CC="$(CC)" \ @@ -259,7 +303,6 @@ install_dlls_host = @install_dlls_host@ all: $(CRT0S) $(LIBS) $(all_dlls_host) - @$(MAKE) subdirs DO=$@ $(FLAGS_TO_PASS) all_dlls_host: $(DLLS) @@ -308,12 +351,11 @@ $(AR) rc $@ $(MINGW_OBJS) $(RANLIB) $@ -msvcrt.def msvcrtd.def \ +msvcrt.def msvcrtd.def \ msvcr70.def msvcr70d.def \ msvcr71.def msvcr71d.def \ msvcr80.def msvcr80d.def \ -msvcr90.def msvcr90d.def \ -: msvcrt.def.in +msvcr90.def msvcr90d.def: msvcrt.def.in $(CC) -DRUNTIME=$(basename $(notdir $@)) \ -D__$(basename $(notdir $@))__=1 \ -D__MSVCRT__ -C -E -P \ @@ -372,7 +414,8 @@ $(AR) rc $@ $(MOLD_OBJS) $(RANLIB) $@ -# The special rules are necessary. +# These special rules are necessary... +# crt1.o dllcrt1.o: $(CC) -c -D__CRTDLL__ -U__MSVCRT__ $(ALL_CFLAGS) $< -o $@ @@ -426,6 +469,12 @@ endif ifneq (,$(findstring cygwin, $(target_alias))) +# +# FIXME: Dubious use of `target_alias', yet again. +# +# Once more, the default settings for these macros could be +# more productively determined by `configure'. +# TARFLAGS = j TARFILEEXT = .tar.bz2 dist_prefix = $(conf_prefix) @@ -553,22 +602,10 @@ @$(MAKE) subdirs DO=$@ $(FLAGS_TO_PASS) subdirs: $(SUBDIRS) - @true +$(SUBDIRS): force + @test -n "$(DO)" && g="$(DO)" || g=all; echo "Making \`$$g' in \`$@'" + @cd $@; $(MAKE) $(FLAGS_TO_PASS) $(DO) -# The . is here because SUBDIRS may be empty - -. $(SUBDIRS): force - @if [ -d ./$@ ]; then \ - echo "Making $(DO) in $@..." ; \ - if (rootme=`pwd`/ ; export rootme ; \ - rootsrc=`cd $(srcdir); pwd`/ ; export rootsrc ; \ - cd ./$@; \ - $(MAKE) $(FLAGS_TO_PASS) $(DO)) ; then true ; \ - else exit 1 ; \ - fi ; \ - else true ; \ - fi - force: # @@ -646,3 +683,4 @@ .c.o: $(CC) -c $(ALL_CFLAGS) $< -o $@ +# $RCSfile$: end of file Modified: trunk/cegcc/src/mingw/configure =================================================================== --- trunk/cegcc/src/mingw/configure 2009-09-06 21:23:17 UTC (rev 1372) +++ trunk/cegcc/src/mingw/configure 2009-09-06 23:23:06 UTC (rev 1373) @@ -601,21 +601,20 @@ PACKAGE_BUGREPORT='http://mingw.org/reporting_bugs' ac_unique_file="include/_mingw.h" -enable_option_checking=no ac_subst_vars='LTLIBOBJS LIBOBJS mingw_manpage_transform INSTALL_DATA INSTALL_SCRIPT INSTALL_PROGRAM +MKINSTALLDIRS +LIBM_A +THREAD_DLL +CRT0S +LIBGMON_A W32API_INCLUDE HEADER_SUBDIR -LIBGMON_A -LIBM_A NO_CYGWIN -MKINSTALLDIRS -THREAD_DLL -subdirs WINDRES DLLWRAP DLLTOOL @@ -697,8 +696,8 @@ LDFLAGS LIBS CPPFLAGS' -ac_subdirs_all='mingwex' + # Initialize some variables set by options. ac_init_help= ac_init_version=false @@ -3756,31 +3755,30 @@ fi -#AC_ALLOCA -#AC_CANONICAL_SYSTEM -#AC_CONFIG_SUBDIRS([profile mingwex]) -subdirs="$subdirs mingwex" +W32API_INCLUDE='-I ${top_srcdir}/../w32api/include' -HEADER_SUBDIR="" +# The following are used by the GCC profiling hooks... +# LIBGMON_A=libgmon.a -W32API_INCLUDE='-I $(srcdir)/../w32api/include' +CRT0S="gcrt1.o gcrt2.o" + +# FIXME: Why is this case determined on `target_os'? +# There is no code generator to be built here, so `target_os' +# should be irrelevant. Should it not rather be `host_os'? +# case "$target_os" in *cygwin*) - NO_CYGWIN="$(cd ${srcdir}/../utils; pwd)/mingw" - LIBM_A=libm.a + PACKAGE_TARNAME="mingw-runtime" + NO_CYGWIN="`cd ${srcdir}/../utils; pwd`/mingw" # Install mingw headers in mingw subdirectory. HEADER_SUBDIR="mingw" + CRT0S="gcrt0.o" ;; -*) - # Build it for MSVCRT by default. - NO_CYGWIN= - LIBM_A=libm.a - ;; esac # THREAD_DLL used to be set within the above case and was mingwc for CRTDLL. @@ -3791,14 +3789,16 @@ THREAD_DLL=mingwm -MKINSTALLDIRS=$ac_aux_dir/mkinstalldirs +# LIBM_A also used be set in the preceding case statement; it had the +# exact same assignment, (libm.a), in every case, so we may just as well +# assign it unconditionally, (making the default case redundant). +# +LIBM_A=libm.a +MKINSTALLDIRS=$ac_aux_dir/mkinstalldirs - - - # Find a good install program. We prefer a C program (faster), # so one script is as good as another. But avoid the broken or # incompatible versions: @@ -3904,7 +3904,7 @@ mingw_manpage_transform=${mingw_manpage_transform-'s,x,x,'} -ac_config_files="$ac_config_files Makefile" +ac_config_files="$ac_config_files Makefile mingwex/Makefile profile/Makefile" cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure @@ -4516,6 +4516,8 @@ do case $ac_config_target in "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; + "mingwex/Makefile") CONFIG_FILES="$CONFIG_FILES mingwex/Makefile" ;; + "profile/Makefile") CONFIG_FILES="$CONFIG_FILES profile/Makefile" ;; *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} @@ -5018,193 +5020,6 @@ # would make configure fail if this is the last instruction. $ac_cs_success || { (exit 1); exit 1; } fi - -# -# CONFIG_SUBDIRS section. -# -if test "$no_recursion" != yes; then - - # Remove --cache-file, --srcdir, and --disable-option-checking arguments - # so they do not pile up. - ac_sub_configure_args= - ac_prev= - eval "set x $ac_configure_args" - shift - for ac_arg - do - if test -n "$ac_prev"; then - ac_prev= - continue - fi - case $ac_arg in - -cache-file | --cache-file | --cache-fil | --cache-fi \ - | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) - ac_prev=cache_file ;; - -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ - | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \ - | --c=*) - ;; - --config-cache | -C) - ;; - -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) - ac_prev=srcdir ;; - -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) - ;; - -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) - ac_prev=prefix ;; - -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) - ;; - --disable-option-checking) - ;; - *) - case $ac_arg in - *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; - esac - ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;; - esac - done - - # Always prepend --prefix to ensure using the same prefix - # in subdir configurations. - ac_arg="--prefix=$prefix" - case $ac_arg in - *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; - esac - ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args" - - # Pass --silent - if test "$silent" = yes; then - ac_sub_configure_args="--silent $ac_sub_configure_args" - fi - - # Always prepend --disable-option-checking to silence warnings, since - # different subdirs can have different --enable and --with options. - ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args" - - ac_popdir=`pwd` - for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue - - # Do not complain, so a configure script can configure whichever - # parts of a large source tree are present. - test -d "$srcdir/$ac_dir" || continue - - ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)" - $as_echo "$as_me:$LINENO: $ac_msg" >&5 - $as_echo "$ac_msg" >&6 - { as_dir="$ac_dir" - case $as_dir in #( - -*) as_dir=./$as_dir;; - esac - test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { - as_dirs= - while :; do - case $as_dir in #( - *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( - *) as_qdir=$as_dir;; - esac - as_dirs="'$as_qdir' $as_dirs" - as_dir=`$as_dirname -- "$as_dir" || -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$as_dir" : 'X\(//\)[^/]' \| \ - X"$as_dir" : 'X\(//\)$' \| \ - X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$as_dir" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - test -d "$as_dir" && break - done - test -z "$as_dirs" || eval "mkdir $as_dirs" - } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 -$as_echo "$as_me: error: cannot create directory $as_dir" >&2;} - { (exit 1); exit 1; }; }; } - ac_builddir=. - -case "$ac_dir" in -.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; -*) - ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` - # A ".." for each directory in $ac_dir_suffix. - ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` - case $ac_top_builddir_sub in - "") ac_top_builddir_sub=. ac_top_build_prefix= ;; - *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; - esac ;; -esac -ac_abs_top_builddir=$ac_pwd -ac_abs_builddir=$ac_pwd$ac_dir_suffix -# for backward compatibility: -ac_top_builddir=$ac_top_build_prefix - -case $srcdir in - .) # We are building in place. - ac_srcdir=. - ac_top_srcdir=$ac_top_builddir_sub - ac_abs_top_srcdir=$ac_pwd ;; - [\\/]* | ?:[\\/]* ) # Absolute name. - ac_srcdir=$srcdir$ac_dir_suffix; - ac_top_srcdir=$srcdir - ac_abs_top_srcdir=$srcdir ;; - *) # Relative name. - ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix - ac_top_srcdir=$ac_top_build_prefix$srcdir - ac_abs_top_srcdir=$ac_pwd/$srcdir ;; -esac -ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix - - - cd "$ac_dir" - - # Check for guested configure; otherwise get Cygnus style configure. - if test -f "$ac_srcdir/configure.gnu"; then - ac_sub_configure=$ac_srcdir/configure.gnu - elif test -f "$ac_srcdir/configure"; then - ac_sub_configure=$ac_srcdir/configure - elif test -f "$ac_srcdir/configure.in"; then - # This should be Cygnus configure. - ac_sub_configure=$ac_aux_dir/configure - else - { $as_echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5 -$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} - ac_sub_configure= - fi - - # The recursion is here. - if test -n "$ac_sub_configure"; then - # Make the cache file name correct relative to the subdirectory. - case $cache_file in - [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;; - *) # Relative name. - ac_sub_cache_file=$ac_top_build_prefix$cache_file ;; - esac - - { $as_echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5 -$as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} - # The eval makes quoting arguments work. - eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \ - --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" || - { { $as_echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5 -$as_echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;} - { (exit 1); exit 1; }; } - fi - - cd "$ac_popdir" - done -fi if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} Modified: trunk/cegcc/src/mingw/configure.in =================================================================== --- trunk/cegcc/src/mingw/configure.in 2009-09-06 21:23:17 UTC (rev 1372) +++ trunk/cegcc/src/mingw/configure.in 2009-09-06 23:23:06 UTC (rev 1373) @@ -32,38 +32,37 @@ AC_SUBST([all_dlls_host]) AC_SUBST([install_dlls_host]) -AC_CHECK_TOOL([AR], [ar], [ar]) -AC_CHECK_TOOL([AS], [as], [as]) -AC_CHECK_TOOL([RANLIB], [ranlib], [ranlib]) -AC_CHECK_TOOL([LD], [ld], [ld]) -AC_CHECK_TOOL([NM], [nm], [nm]) +AC_CHECK_TOOL([AR], [ar], [ar]) +AC_CHECK_TOOL([AS], [as], [as]) +AC_CHECK_TOOL([RANLIB], [ranlib], [ranlib]) +AC_CHECK_TOOL([LD], [ld], [ld]) +AC_CHECK_TOOL([NM], [nm], [nm]) AC_CHECK_TOOL([OBJCOPY], [objcopy], [objcopy]) AC_CHECK_TOOL([DLLTOOL], [dlltool], [dlltool]) AC_CHECK_TOOL([DLLWRAP], [dlltool], [dlltool]) AC_CHECK_TOOL([WINDRES], [windres], [windres]) -#AC_ALLOCA -#AC_CANONICAL_SYSTEM -#AC_CONFIG_SUBDIRS([profile mingwex]) -AC_CONFIG_SUBDIRS(mingwex) -HEADER_SUBDIR="" +AC_SUBST([NO_CYGWIN]) +AC_SUBST([HEADER_SUBDIR]) +AC_SUBST([W32API_INCLUDE], ['-I ${top_srcdir}/../w32api/include']) -LIBGMON_A=libgmon.a +# The following are used by the GCC profiling hooks... +# +AC_SUBST([LIBGMON_A], [libgmon.a]) +AC_SUBST([CRT0S], ["gcrt1.o gcrt2.o"]) -W32API_INCLUDE='-I $(srcdir)/../w32api/include' - +# FIXME: Why is this case determined on `target_os'? +# There is no code generator to be built here, so `target_os' +# should be irrelevant. Should it not rather be `host_os'? +# case "$target_os" in *cygwin*) - NO_CYGWIN="$(cd ${srcdir}/../utils; pwd)/mingw" - LIBM_A=libm.a + PACKAGE_TARNAME="mingw-runtime" + NO_CYGWIN="`cd ${srcdir}/../utils; pwd`/mingw" # Install mingw headers in mingw subdirectory. HEADER_SUBDIR="mingw" + CRT0S="gcrt0.o" ;; -*) - # Build it for MSVCRT by default. - NO_CYGWIN= - LIBM_A=libm.a - ;; esac # THREAD_DLL used to be set within the above case and was mingwc for CRTDLL. @@ -73,17 +72,18 @@ # to match the libmingwthrd.a name. AC_SUBST([THREAD_DLL], [mingwm]) +# LIBM_A also used be set in the preceding case statement; it had the +# exact same assignment, (libm.a), in every case, so we may just as well +# assign it unconditionally, (making the default case redundant). +# +AC_SUBST([LIBM_A], [libm.a]) + AC_SUBST([MKINSTALLDIRS], [$ac_aux_dir/mkinstalldirs]) -AC_SUBST([NO_CYGWIN]) -AC_SUBST([LIBM_A]) -AC_SUBST([LIBGMON_A]) -AC_SUBST([HEADER_SUBDIR]) -AC_SUBST([W32API_INCLUDE]) AC_PROG_INSTALL MINGW_AC_MANPAGE_TRANSFORM -AC_CONFIG_FILES([Makefile]) +AC_CONFIG_FILES([Makefile mingwex/Makefile profile/Makefile]) AC_OUTPUT # $RCSfile$: end of file Modified: trunk/cegcc/src/mingw/cpu_features.c =================================================================== --- trunk/cegcc/src/mingw/cpu_features.c 2009-09-06 21:23:17 UTC (rev 1372) +++ trunk/cegcc/src/mingw/cpu_features.c 2009-09-06 23:23:06 UTC (rev 1373) @@ -21,7 +21,7 @@ #define EDX_LM (1 << 29) /*LONG MODE */ #define __cpuid(level,a,b,c,d) \ - __asm__ __volatile__ ("cpuid;" \ + asm volatile ("cpuid;" \ : "=a" (a), "=b" (b), "=c" (c), "=d" (d)\ : "0" (level)) Modified: trunk/cegcc/src/mingw/crt1.c =================================================================== --- trunk/cegcc/src/mingw/crt1.c 2009-09-06 21:23:17 UTC (rev 1372) +++ trunk/cegcc/src/mingw/crt1.c 2009-09-06 23:23:06 UTC (rev 1373) @@ -181,7 +181,7 @@ /* * The function mainCRTStartup is the entry point for all console programs. */ -static void __attribute__((noreturn)) +static void __MINGW_ATTRIB_NORETURN __mingw_CRTStartup (void) { int nRet; Modified: trunk/cegcc/src/mingw/include/CVS/Entries =================================================================== --- trunk/cegcc/src/mingw/include/CVS/Entries 2009-09-06 21:23:17 UTC (rev 1372) +++ trunk/cegcc/src/mingw/include/CVS/Entries 2009-09-06 23:23:06 UTC (rev 1373) @@ -1,6 +1,4 @@ D/sys//// -/_mingw.h/1.56/Result of merge/-ko/ -/assert.h/1.7/Result of merge+Thu Feb 5 07:28:04 2009/-ko/ /complex.h/1.6/Result of merge// /conio.h/1.6/Result of merge+Thu Feb 5 07:28:05 2009/-ko/ /ctype.h/1.16/Result of merge+Thu Feb 5 07:28:05 2009/-ko/ @@ -12,14 +10,11 @@ /fcntl.h/1.9/Thu Feb 5 07:28:06 2009/-ko/ /fenv.h/1.7/Result of merge+Thu Feb 5 07:28:06 2009// /float.h/1.7/Thu Feb 5 07:28:06 2009/-ko/ -/getopt.h/1.4/Result of merge+Thu Feb 5 07:28:06 2009// -/inttypes.h/1.6/Result of merge+Thu Feb 5 07:28:06 2009// /io.h/1.21/Result of merge+Thu Feb 5 07:28:06 2009/-ko/ /libgen.h/1.2/Thu Feb 5 07:28:06 2009// /limits.h/1.6/Fri Feb 8 14:20:00 2008/-ko/ /locale.h/1.7/Result of merge/-ko/ /malloc.h/1.14/Result of merge+Thu Feb 5 07:28:07 2009/-ko/ -/math.h/1.35/Result of merge/-ko/ /mbctype.h/1.3/Result of merge// /mbstring.h/1.4/Result of merge// /mem.h/1.2/Fri Feb 8 14:20:00 2008/-ko/ @@ -28,18 +23,23 @@ /setjmp.h/1.7/Result of merge/-ko/ /share.h/1.5/Fri Feb 8 14:20:00 2008/-ko/ /signal.h/1.6/Result of merge/-ko/ -/stdint.h/1.8/Thu Feb 5 07:28:08 2009// -/stdio.h/1.38/Result of merge+Thu Feb 5 07:28:08 2009/-ko/ -/stdlib.h/1.37/Result of merge+Thu Feb 5 07:28:08 2009/-ko/ -/string.h/1.19/Result of merge+Thu Feb 5 07:28:09 2009/-ko/ /strings.h/1.1/Fri Feb 8 14:20:00 2008// /tchar.h/1.24/Thu Feb 5 07:28:09 2009/-ko/ /time.h/1.16/Result of merge+Thu Feb 5 07:28:09 2009/-ko/ -/unistd.h/1.8/Result of merge+Thu Feb 5 07:28:09 2009/-ko/ /utime.h/1.1/Fri Feb 8 14:20:00 2008// /values.h/1.1.1.1/Fri Feb 8 14:20:00 2008/-ko/ /varargs.h/1.4/Fri Feb 8 14:20:00 2008/-ko/ -/wchar.h/1.32/Result of merge+Thu Feb 5 07:28:09 2009/-ko/ /wctype.h/1.13/Result of merge+Thu Feb 5 07:28:10 2009/-ko/ /search.h/1.3/Thu Feb 5 16:33:32 2009// /dirent.h/1.9/Sat Feb 7 18:19:20 2009/-ko/ +/_mingw.h/1.58/Result of merge/-ko/ +/assert.h/1.7/Thu Feb 5 15:25:48 2009/-ko/ +/getopt.h/1.4/Thu Feb 5 16:31:12 2009// +/inttypes.h/1.7/Result of merge+Sun Sep 6 22:43:03 2009// +/math.h/1.37/Result of merge+Sun Sep 6 22:43:03 2009/-ko/ +/stdint.h/1.9/Sun Sep 6 22:43:04 2009// +/stdio.h/1.41/Result of merge/-ko/ +/stdlib.h/1.40/Result of merge+Sun Sep 6 22:43:04 2009/-ko/ +/string.h/1.20/Result of merge/-ko/ +/unistd.h/1.10/Sun Sep 6 22:43:04 2009/-ko/ +/wchar.h/1.34/Result of merge/-ko/ Modified: trunk/cegcc/src/mingw/include/_mingw.h =================================================================== --- trunk/cegcc/src/mingw/include/_mingw.h 2009-09-06 21:23:17 UTC (rev 1372) +++ trunk/cegcc/src/mingw/include/_mingw.h 2009-09-06 23:23:06 UTC (rev 1373) @@ -22,10 +22,10 @@ */ #define __MINGW_H -#define __MINGW32_VERSION 3.15.2 +#define __MINGW32_VERSION 3.16 #define __MINGW32_MAJOR_VERSION 3 -#define __MINGW32_MINOR_VERSION 15 -#define __MINGW32_PATCHLEVEL 2 +#define __MINGW32_MINOR_VERSION 16 +#define __MINGW32_PATCHLEVEL 0 #if __GNUC__ >= 3 #pragma GCC system_header @@ -76,16 +76,46 @@ /* Try to avoid problems with outdated checks for GCC __attribute__ support. */ #undef __attribute__ -#ifndef __GNUC__ +#if defined (__PCC__) +# undef __DECLSPEC_SUPPORTED # ifndef __MINGW_IMPORT -# define __MINGW_IMPORT __declspec(dllimport) +# define __MINGW_IMPORT extern # endif # ifndef _CRTIMP -# define _CRTIMP __declspec(dllimport) +# define _CRTIMP # endif -# define __DECLSPEC_SUPPORTED -# define __attribute__(x) /* nothing */ -#else /* __GNUC__ */ +# ifndef __cdecl +# define __cdecl _Pragma("cdecl") +# endif +# ifndef __stdcall +# define __stdcall _Pragma("stdcall") +# endif +# ifndef __int64 +# define __int64 long long +# endif +# ifndef __int32 +# define __int32 long +# endif +# ifndef __int16 +# define __int16 short +# endif +# ifndef __int8 +# define __int8 char +# endif +# ifndef __small +# define __small char +# endif +# ifndef __hyper +# define __hyper long long +# endif +# ifndef __volatile__ +# define __volatile__ volatile +# endif +# ifndef __restrict__ +# define __restrict__ restrict +# endif +# define NONAMELESSUNION +#elif defined(__GNUC__) # ifdef __declspec # ifndef __MINGW_IMPORT /* Note the extern. This is needed to work around GCC's @@ -107,12 +137,11 @@ # define _CRTIMP # endif # endif /* __declspec */ - /* - The next two defines can cause problems if user code adds the __cdecl attribute - like so: - void __attribute__ ((__cdecl)) foo(void); -*/ + * The next two defines can cause problems if user code adds the + * __cdecl attribute like so: + * void __attribute__ ((__cdecl)) foo(void); + */ # ifndef __cdecl # define __cdecl __attribute__ ((__cdecl__)) # endif @@ -137,7 +166,16 @@ # ifndef __hyper # define __hyper long long # endif -#endif /* __GNUC__ */ +#else /* ! __GNUC__ && ! __PCC__ */ +# ifndef __MINGW_IMPORT +# define __MINGW_IMPORT __declspec(dllimport) +# endif +# ifndef _CRTIMP +# define _CRTIMP __declspec(dllimport) +# endif +# define __DECLSPEC_SUPPORTED +# define __attribute__(x) /* nothing */ +#endif #if defined (__GNUC__) && defined (__GNUC_MINOR__) #define __MINGW_GNUC_PREREQ(major, minor) \ Modified: trunk/cegcc/src/mingw/include/inttypes.h =================================================================== --- trunk/cegcc/src/mingw/include/inttypes.h 2009-09-06 21:23:17 UTC (rev 1372) +++ trunk/cegcc/src/mingw/include/inttypes.h 2009-09-06 23:23:06 UTC (rev 1373) @@ -255,11 +255,12 @@ #endif /* !defined(__cplusplus) || defined(__STDC_FORMAT_MACROS) */ +intmax_t __cdecl __MINGW_NOTHROW imaxabs (intmax_t j); +#ifndef __NO_INLINE__ __CRT_INLINE intmax_t __cdecl __MINGW_NOTHROW imaxabs (intmax_t j) {return (j >= 0 ? j : -j);} - +#endif #ifndef __COREDLL__ - imaxdiv_t __cdecl __MINGW_NOTHROW imaxdiv (intmax_t numer, intmax_t denom); /* 7.8.2 Conversion functions for greatest-width integer types */ Modified: trunk/cegcc/src/mingw/include/math.h =================================================================== --- trunk/cegcc/src/mingw/include/math.h 2009-09-06 21:23:17 UTC (rev 1372) +++ trunk/cegcc/src/mingw/include/math.h 2009-09-06 23:23:06 UTC (rev 1373) @@ -332,7 +332,6 @@ #endif /* 7.12.3.1 */ - /* Return values for fpclassify. These are based on Intel x87 fpu condition codes @@ -359,12 +358,14 @@ extern int __cdecl __fpclassifyl (long double); #ifdef __i386__ +#ifndef __NO_INLINE__ __CRT_INLINE int __cdecl __fpclassifyl (long double x){ unsigned short sw; __asm__ ("fxam; fstsw %%ax;" : "=a" (sw): "t" (x)); return sw & (FP_NAN | FP_NORMAL | FP_ZERO ); } #endif +#endif #define fpclassify(x) (sizeof (x) == sizeof (float) ? __fpclassifyf (x) \ : sizeof (x) == sizeof (double) ? __fpclassify (x) \ @@ -383,6 +384,11 @@ #ifdef __i386__ /* The isnan define could be implemented in terms of fpclassify. It would compile to the same thing. */ +extern int __cdecl __isnan (double); +extern int __cdecl __isnanf (float); +extern int __cdecl __isnanl (long double); +#ifndef __NO_INLINE__ + __CRT_INLINE int __cdecl __isnan (double _x) { unsigned short sw; @@ -409,6 +415,7 @@ return (sw & (FP_NAN | FP_NORMAL | FP_INFINITE | FP_ZERO | FP_SUBNORMAL)) == FP_NAN; } +#endif #define isnan(x) (sizeof (x) == sizeof (float) ? __isnanf (x) \ : sizeof (x) == sizeof (double) ? __isnan (x) \ @@ -438,6 +445,10 @@ #ifdef __i386__ /* 7.12.3.6 The signbit macro */ +extern int __cdecl __signbit (double); +extern int __cdecl __signbitf (float); +extern int __cdecl __signbitl (long double); +#ifndef __NO_INLINE__ __CRT_INLINE int __cdecl __signbit (double x) { unsigned short stw; __asm__ ( "fxam; fstsw %%ax;": "=a" (stw) : "t" (x)); @@ -455,6 +466,7 @@ __asm__ ("fxam; fstsw %%ax;": "=a" (stw) : "t" (x)); return (stw & 0x0200) != 0; } +#endif #define signbit(x) (sizeof (x) == sizeof (float) ? __signbitf (x) \ : sizeof (x) == sizeof (double) ? __signbit (x) \ @@ -484,16 +496,25 @@ extern long double __cdecl atan2l (long double, long double); /* 7.12.5 Hyperbolic functions: Double in C89 */ +extern float __cdecl sinhf (float); +#ifndef __NO_INLINE__ __CRT_INLINE float __cdecl sinhf (float x) {return (float) sinh (x);} +#endif extern long double __cdecl sinhl (long double); +extern float __cdecl coshf (float); +#ifndef __NO_INLINE__ __CRT_INLINE float __cdecl coshf (float x) {return (float) cosh (x);} +#endif extern long double __cdecl coshl (long double); +extern float __cdecl tanhf (float); +#ifndef __NO_INLINE__ __CRT_INLINE float __cdecl tanhf (float x) {return (float) tanh (x);} +#endif extern long double __cdecl tanhl (long double); /* Inverse hyperbolic trig functions */ @@ -514,8 +535,11 @@ /* Exponentials and logarithms */ /* 7.12.6.1 Double in C89 */ +extern float __cdecl expf (float); +#ifndef __NO_INLINE__ __CRT_INLINE float __cdecl expf (float x) {return (float) exp (x);} +#endif extern long double __cdecl expl (long double); /* 7.12.6.2 */ @@ -530,8 +554,11 @@ extern long double __cdecl expm1l(long double); /* 7.12.6.4 Double in C89 */ +extern float __cdecl frexpf (float, int*); +#ifndef __NO_INLINE__ __CRT_INLINE float __cdecl frexpf (float x, int* expn) {return (float) frexp (x, expn);} +#endif extern long double __cdecl frexpl (long double, int*); /* 7.12.6.5 */ @@ -542,8 +569,11 @@ extern int __cdecl ilogbl (long double); /* 7.12.6.6 Double in C89 */ +extern float __cdecl ldexpf (float, int); +#ifndef __NO_INLINE__ __CRT_INLINE float __cdecl ldexpf (float x, int expn) {return (float) ldexp (x, expn);} +#endif extern long double __cdecl ldexpl (long double, int); /* 7.12.6.7 Double in C89 */ @@ -571,6 +601,7 @@ /* Inline versions. GCC-4.0+ can do a better fast-math optimization with __builtins. */ +#ifndef __NO_INLINE__ #if !(__MINGW_GNUC_PREREQ (4, 0) && defined __FAST_MATH__ ) && defined __i386__ __CRT_INLINE double __cdecl logb (double x) { @@ -596,6 +627,7 @@ return res; } #endif /* !defined __FAST_MATH__ || !__MINGW_GNUC_PREREQ (4, 0) && __i386__ */ +#endif /* !defined __NO_INLINE__ */ /* 7.12.6.12 Double in C89 */ extern float __cdecl modff (float, float*); @@ -622,13 +654,19 @@ /* 7.12.7.3 */ extern double __cdecl hypot (double, double); /* in libmoldname.a */ +extern float __cdecl hypotf (float, float); +#ifndef __NO_INLINE__ __CRT_INLINE float __cdecl hypotf (float x, float y) { return (float) hypot (x, y);} +#endif extern long double __cdecl hypotl (long double, long double); /* 7.12.7.4 The pow functions. Double in C89 */ +extern float __cdecl powf (float, float); +#ifndef __NO_INLINE__ __CRT_INLINE float __cdecl powf (float x, float y) {return (float) pow (x, y);} +#endif extern long double __cdecl powl (long double, long double); /* 7.12.7.5 The sqrt functions. Double in C89. */ @@ -685,6 +723,7 @@ /* Inline versions of above. GCC 4.0+ can do a better fast-math job with __builtins. */ +#ifndef __NO_INLINE__ #if !(__MINGW_GNUC_PREREQ (4, 0) && defined __FAST_MATH__ ) && defined __i386__ __CRT_INLINE double __cdecl rint (double x) { @@ -755,6 +794,7 @@ return retval; } #endif /* !__FAST_MATH__ || !__MINGW_GNUC_PREREQ (4,0) && __i386__ */ +#endif /* !defined __NO_INLINE */ /* 7.12.9.6 */ /* round away from zero, regardless of fpu control word settings */ @@ -865,6 +905,8 @@ #else /* helper */ +extern int __cdecl __fp_unordered_compare (long double, long double); +#ifndef __NO_INLINE__ __CRT_INLINE int __cdecl __fp_unordered_compare (long double x, long double y){ unsigned short retval; @@ -872,6 +914,7 @@ "fnstsw;": "=a" (retval) : "t" (x), "u" (y)); return retval; } +#endif #define isgreater(x, y) ((__fp_unordered_compare(x, y) \ & 0x4500) == 0) Modified: trunk/cegcc/src/mingw/include/stdint.h =================================================================== --- trunk/cegcc/src/mingw/include/stdint.h 2009-09-06 21:23:17 UTC (rev 1372) +++ trunk/cegcc/src/mingw/include/stdint.h 2009-09-06 23:23:06 UTC (rev 1373) @@ -47,7 +47,7 @@ * Not actually guaranteed to be fastest for all purposes * Here we use the exact-width types for 8 and 16-bit ints. */ -typedef char int_fast8_t; +typedef signed char int_fast8_t; typedef unsigned char uint_fast8_t; typedef short int_fast16_t; typedef unsigned short uint_fast16_t; @@ -187,13 +187,13 @@ *expression* with *promoted* type." */ -#define INT8_C(val) ((int8_t) + (val)) -#define UINT8_C(val) ((uint8_t) + (val##U)) -#define INT16_C(val) ((int16_t) + (val)) -#define UINT16_C(val) ((uint16_t) + (val##U)) +#define INT8_C(val) val +#define UINT8_C(val) val +#define INT16_C(val) val +#define UINT16_C(val) val -#define INT32_C(val) val##L -#define UINT32_C(val) val##UL +#define INT32_C(val) val +#define UINT32_C(val) val##U #define INT64_C(val) val##LL #define UINT64_C(val) val##ULL Modified: trunk/cegcc/src/mingw/include/stdio.h =================================================================== --- trunk/cegcc/src/mingw/include/stdio.h 2009-09-06 21:23:17 UTC (rev 1372) +++ trunk/cegcc/src/mingw/include/stdio.h 2009-09-06 23:23:06 UTC (rev 1373) @@ -262,7 +262,7 @@ * For C++ we use inline implementations, to avoid interference * with namespace qualification, which may result from using #defines. */ -# define __mingw_stdio_redirect__ static inline __cdecl __MINGW_NOTHROW +# define __mingw_stdio_redirect__ inline __cdecl __MINGW_NOTHROW # elif defined __GNUC__ /* @@ -693,9 +693,12 @@ #ifndef __NO_ISOCEXT /* externs in libmingwex.a */ int __cdecl __MINGW_NOTHROW snwprintf (wchar_t* s, size_t n, const wchar_t* format, ...); +int __cdecl __MINGW_NOTHROW vsnwprintf (wchar_t* s, size_t n, const wchar_t* format, __VALIST arg); +#ifndef __NO_INLINE__ __CRT_INLINE int __cdecl __MINGW_NOTHROW vsnwprintf (wchar_t* s, size_t n, const wchar_t* format, __VALIST arg) { return _vsnwprintf ( s, n, format, arg);} +#endif int __cdecl __MINGW_NOTHROW vwscanf (const wchar_t * __restrict__, __VALIST); int __cdecl __MINGW_NOTHROW vfwscanf (FILE * __restrict__, const wchar_t * __restrict__, __VALIST); Modified: trunk/cegcc/src/mingw/include/stdlib.h =================================================================== --- trunk/cegcc/src/mingw/include/stdlib.h 2009-09-06 21:23:17 UTC (rev 1372) +++ trunk/cegcc/src/mingw/include/stdlib.h 2009-09-06 23:23:06 UTC (rev 1373) @@ -328,6 +328,7 @@ _CRTIMP long __cdecl __MINGW_NOTHROW atol (const char*); #if !defined (__STRICT_ANSI__) #if !defined (__COREDLL__) +_CRTIMP double __cdecl __MINGW_NOTHROW _wtof (const wchar_t *); _CRTIMP int __cdecl __MINGW_NOTHROW _wtoi (const wchar_t *); _CRTIMP long __cdecl __MINGW_NOTHROW _wtol (const wchar_t *); #endif @@ -546,7 +547,7 @@ /* C99 name for _exit */ void __cdecl __MINGW_NOTHROW _Exit(int) __MINGW_ATTRIB_NORETURN; -#ifndef __STRICT_ANSI__ /* inline using non-ansi functions */ +#if !defined __NO_INLINE__ && !defined __STRICT_ANSI__ __CRT_INLINE void __cdecl __MINGW_NOTHROW _Exit(int __status) { _exit (__status); } #endif @@ -556,16 +557,14 @@ lldiv_t __cdecl __MINGW_NOTHROW lldiv (long long, long long) __MINGW_ATTRIB_CONST; long long __cdecl __MINGW_NOTHROW llabs(long long); +#ifndef __NO_INLINE__ __CRT_INLINE long long __cdecl __MINGW_NOTHROW llabs(long long _j) {return (_j >= 0 ? _j : -_j);} +#endif long long __cdecl __MINGW_NOTHROW strtoll (const char* __restrict__, char** __restrict, int); unsigned long long __cdecl __MINGW_NOTHROW strtoull (const char* __restrict__, char** __restrict__, int); -/* C99 addition, this used to be blocked by __STRICT_ANSI__ (see below). */ -__CRT_INLINE long long __cdecl __MINGW_NOTHROW atoll (const char * _c) - { return _atoi64 (_c); } - #if defined (__MSVCRT__) /* these are stubs for MS _i64 versions */ #if !defined (__STRICT_ANSI__) @@ -576,6 +575,9 @@ wchar_t* __cdecl __MINGW_NOTHROW ulltow (unsigned long long, wchar_t *, int); /* inline using non-ansi functions */ +#ifndef __NO_INLINE__ +__CRT_INLINE long long __cdecl __MINGW_NOTHROW atoll (const char * _c) + { return _atoi64 (_c); } __CRT_INLINE char* __cdecl __MINGW_NOTHROW lltoa (long long _n, char * _c, int _i) { return _i64toa (_n, _c, _i); } __CRT_INLINE char* __cdecl __MINGW_NOTHROW ulltoa (unsigned long long _n, char * _c, int _i) @@ -586,6 +588,7 @@ { return _i64tow (_n, _w, _i); } __CRT_INLINE wchar_t* __cdecl __MINGW_NOTHROW ulltow (unsigned long long _n, wchar_t * _w, int _i) { return _ui64tow (_n, _w, _i); } +#endif /* (__NO_INLINE__) */ #endif /* (__STRICT_ANSI__) */ #endif /* __MSVCRT__ */ Modified: trunk/cegcc/src/mingw/include/string.h =================================================================== --- trunk/cegcc/src/mingw/include/string.h 2009-09-06 21:23:17 UTC (rev 1372) +++ trunk/cegcc/src/mingw/include/string.h 2009-09-06 23:23:06 UTC (rev 1373) @@ -101,17 +101,21 @@ _CRTIMP char* __cdecl __MINGW_NOTHROW strdup (const char*) __MINGW_ATTRIB_MALLOC; _CRTIMP int __cdecl __MINGW_NOTHROW strcmpi (const char*, const char*); _CRTIMP int __cdecl __MINGW_NOTHROW stricmp (const char*, const char*); -__CRT_INLINE int __cdecl __MINGW_NOTHROW strcasecmp (const char*, const char *); +int __cdecl __MINGW_NOTHROW strcasecmp (const char*, const char *); +#ifndef __NO_INLINE__ __CRT_INLINE int __cdecl __MINGW_NOTHROW strcasecmp (const char * __sz1, const char * __sz2) {return _stricmp (__sz1, __sz2);} +#endif _CRTIMP int __cdecl __MINGW_NOTHROW stricoll (const char*, const char*); _CRTIMP char* __cdecl __MINGW_NOTHROW strlwr (char*); _CRTIMP int __cdecl __MINGW_NOTHROW strnicmp (const char*, const char*, size_t); -__CRT_INLINE int __cdecl __MINGW_NOTHROW strncasecmp (const char *, const char *, size_t); +int __cdecl __MINGW_NOTHROW strncasecmp (const char *, const char *, size_t); +#ifndef __NO_INLINE__ __CRT_INLINE int __cdecl __MINGW_NOTHROW strncasecmp (const char * __sz1, const char * __sz2, size_t __sizeMaxCompare) {return _strnicmp (__sz1, __sz2, __sizeMaxCompare);} +#endif _CRTIMP char* __cdecl __MINGW_NOTHROW strnset (char*, int, size_t); _CRTIMP char* __cdecl __MINGW_NOTHROW strrev (char*); _CRTIMP char* __cdecl __MINGW_NOTHROW strset (char*, int); @@ -182,9 +186,11 @@ #ifndef _NO_OLDNAMES /* NOTE: There is no _wcscmpi, but this is for compatibility. */ int __cdecl __MINGW_NOTHROW wcscmpi (const wchar_t * __ws1, const wchar_t * __ws2); +#ifndef __NO_INLINE__ __CRT_INLINE int __cdecl __MINGW_NOTHROW wcscmpi (const wchar_t * __ws1, const wchar_t * __ws2) {return _wcsicmp (__ws1, __ws2);} +#endif _CRTIMP wchar_t* __cdecl __MINGW_NOTHROW wcsdup (const wchar_t*); _CRTIMP int __cdecl __MINGW_NOTHROW wcsicmp (const wchar_t*, const wchar_t*); _CRTIMP int __cdecl __MINGW_NOTHROW wcsicoll (const wchar_t*, const wchar_t*); Modified: trunk/cegcc/src/mingw/include/unistd.h =================================================================== --- trunk/cegcc/src/mingw/include/unistd.h 2009-09-06 21:23:17 UTC (rev 1372) +++ trunk/cegcc/src/mingw/include/unistd.h 2009-09-06 23:23:06 UTC (rev 1373) @@ -39,10 +39,12 @@ /* This is defined as a real library function to allow autoconf to verify its existence. */ int ftruncate(int, off_t); +#ifndef __NO_INLINE__ __CRT_INLINE int ftruncate(int __fd, off_t __length) { return _chsize (__fd, __length); } +#endif #ifdef __cplusplus } Modified: trunk/cegcc/src/mingw/include/wchar.h =================================================================== --- trunk/cegcc/src/mingw/include/wchar.h 2009-09-06 21:23:17 UTC (rev 1372) +++ trunk/cegcc/src/mingw/include/wchar.h 2009-09-06 23:23:06 UTC (rev 1373) @@ -152,10 +152,13 @@ #endif #ifndef __NO_ISOCEXT /* externs in libmingwex.a */ -int __cdecl __MINGW_NOTHROW snwprintf (wchar_t* s, size_t n, const wchar_t* format, ...); +int __cdecl __MINGW_NOTHROW snwprintf (wchar_t*, size_t, const wchar_t*, ...); +int __cdecl __MINGW_NOTHROW vsnwprintf (wchar_t*, size_t, const wchar_t*, __VALIST); +#ifndef __NO_INLINE__ __CRT_INLINE int __cdecl __MINGW_NOTHROW vsnwprintf (wchar_t* s, size_t n, const wchar_t* format, __VALIST arg) { return _vsnwprintf ( s, n, format, arg);} +#endif int __cdecl __MINGW_NOTHROW vwscanf (const wchar_t * __restrict__, __VALIST); int __cdecl __MINGW_NOTHROW vfwscanf (FILE * __restrict__, const wchar_t * __restrict__, __VALIST); @@ -262,9 +265,12 @@ #ifndef _NO_OLDNAMES /* NOTE: There is no _wcscmpi, but this is for compatibility. */ +int __cdecl __MINGW_NOTHROW wcscmpi (const wchar_t *, const wchar_t *); +#ifndef __NO_INLINE__ __CRT_INLINE int __cdecl __MINGW_NOTHROW wcscmpi (const wchar_t * __ws1, const wchar_t * __ws2) {return _wcsicmp (__ws1, __ws2);} +#endif _CRTIMP wchar_t* __cdecl __MINGW_NOTHROW wcsdup (const wchar_t*); _CRTIMP int __cdecl __MINGW_NOTHROW wcsicmp (const wchar_t*, const wchar_t*); _CRTIMP int __cdecl __MINGW_NOTHROW wcsicoll (const wchar_t*, const wchar_t*); Modified: trunk/cegcc/src/mingw/mingwex/CVS/Entries =================================================================== --- trunk/cegcc/src/mingw/mingwex/CVS/Entries 2009-09-06 21:23:17 UTC (rev 1372) +++ trunk/cegcc/src/mingw/mingwex/CVS/Entries 2009-09-06 23:23:06 UTC (rev 1373) @@ -17,14 +17,10 @@ /wdirent.c/1.3/Result of merge+Sun Feb 4 20:14:40 2007// D/gdtoa//// /wcstold.c/1.2/Tue Feb 6 22:15:34 2007// -/Makefile.in/1.46/Result of merge+Thu Feb 5 07:28:11 2009// /_Exit.c/1.2/Fri Feb 8 14:19:59 2008// -/aclocal.m4/1.1/Fri Feb 8 14:19:59 2008// /atoll.c/1.2/Fri Feb 8 14:19:59 2008// /basename.c/1.2/Result of merge+Thu Feb 5 07:28:11 2009// /btowc.c/1.2/Fri Feb 8 14:19:59 2008// -/configure/1.7/Thu Feb 5 07:28:11 2009// -/configure.in/1.7/Thu Feb 5 07:28:11 2009// /dirname.c/1.2/Result of merge// /feclearexcept.c/1.5/Fri Feb 8 14:19:59 2008// /fegetenv.c/1.7/Fri Feb 8 14:19:59 2008// @@ -39,7 +35,6 @@ /feupdateenv.c/1.5/Fri Feb 8 14:19:59 2008// /ftruncate.c/1.1/Fri Feb 8 14:19:59 2008// /fwide.c/1.4/Thu Feb 5 07:28:12 2009// -/getopt.c/1.8/Result of merge+Thu Feb 5 07:28:12 2009// /imaxabs.c/1.2/Fri Feb 8 14:19:59 2008// /imaxdiv.c/1.2/Fri Feb 8 14:19:59 2008// /iswblank.c/1.1/Fri Feb 8 14:19:59 2008// @@ -57,7 +52,6 @@ /twalk.c/1.1/Fri Jun 22 10:09:20 2007// /ulltoa.c/1.2/Fri Feb 8 14:19:59 2008// /ulltow.c/1.2/Fri Feb 8 14:19:59 2008// -/usleep.c/1.1/Sun May 4 12:18:52 2008// /wctrans.c/1.1/Fri Feb 8 14:19:59 2008// /wctype.c/1.1/Fri Feb 8 14:19:59 2008// /wmemchr.c/1.2/Fri Feb 8 14:19:59 2008// @@ -65,3 +59,6 @@ /wmemcpy.c/1.2/Fri Feb 8 14:19:59 2008// /wmemset.c/1.2/Fri Feb 8 14:19:59 2008// /wtoll.c/1.3/Fri Feb 8 14:19:59 2008// +/Makefile.in/1.47/Result of merge+Sun Sep 6 22:43:04 2009// +/getopt.c/1.9/Result of merge// +/usleep.c/1.2/Result of merge// Modified: trunk/cegcc/src/mingw/mingwex/Makefile.in =================================================================== --- trunk/cegcc/src/mingw/mingwex/Makefile.in 2009-09-06 21:23:17 UTC (rev 1372) +++ trunk/cegcc/src/mingw/mingwex/Makefile.in 2009-09-06 23:23:06 UTC (rev 1373) @@ -4,15 +4,23 @@ # This makefile requires GNU make. srcdir = @srcdir@ +top_srcdir = @top_srcdir@ +VPATH = $(srcdir):$(srcdir)/math:$(srcdir)/stdio:$(srcdir)/complex $(srcdir)/gdtoa + +# FIXME: I see no reason to define `objdir'; +# it appears to be unused, and could be removed. objdir = . host_alias = @host_alias@ prefix = @prefix@ +datarootdir = @datarootdir@ program_transform_name = @program_transform_name@ exec_prefix = @exec_prefix@ bindir = @bindir@ libdir = @libdir@ +# FIXME: Use of `target_alias' is extremely suspect here; +# (see relevant note in top level Makefile). tooldir = $(exec_prefix)/$(host_alias) datadir = @datadir@ infodir = @infodir@ @@ -131,11 +139,18 @@ # compiling with Cygwin? NO_CYGWIN := @NO_CYGWIN@ ifdef NO_CYGWIN +# +# FIXME: What is the purpose of this hideous kludge? +# +# `CC' should have been appropriately set by the configure script; +# to mess with it, in this fashion, should neither be necessary, +# nor accepted. +# override CC := ${NO_CYGWIN} $(firstword $(filter-out ${NO_CYGWIN},${CC})) endif W32API_INCLUDE = @W32API_INCLUDE@ -INCLUDES = -I$(srcdir) -I$(srcdir)/.. -I$(srcdir)/../include \ +INCLUDES = -I${srcdir} -I${top_srcdir} -I${top_srcdir}/include \ -nostdinc \ -iwithprefixbefore include ALL_CFLAGS = $(CFLAGS) $(WARNFLAGS) $(OPTFLAGS) $(INCLUDES) $(W32API_INCLUDE) $(MATHCE_FLAGS) @@ -300,12 +315,14 @@ -D FUNCTION=$* $(srcdir)/math/lround_generic.c endif -Makefile: Makefile.in config.status configure - $(SHELL) config.status +top_builddir = @top_builddir@ -config.status: configure - $(SHELL) config.status --recheck +Makefile: Makefile.in ${top_builddir}/config.status ${top_srcdir}/configure + cd ${top_builddir}; $(SHELL) config.status +${top_builddir}/config.status: ${top_srcdir}/configure + cd ${top_builddir}; $(SHELL) config.status --recheck + info: info-html: @@ -414,3 +431,5 @@ setjmp.o: $(CC) -c -I$(srcdir)/wince/i386 $(srcdir)/wince/i386/setjmp.S endif + +# $RCSfile: Makefile.in,v $: end of file Deleted: trunk/cegcc/src/mingw/mingwex/aclocal.m4 =================================================================== --- trunk/cegcc/src/mingw/mingwex/aclocal.m4 2009-09-06 21:23:17 UTC (rev 1372) +++ trunk/cegcc/src/mingw/mingwex/aclocal.m4 2009-09-06 23:23:06 UTC (rev 1373) @@ -1,831 +0,0 @@ -dnl aclocal.m4 generated automatically by aclocal 1.4-p6 - -dnl Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc. -dnl This file is free software; the Free Software Foundation -dnl gives unlimited permission to copy and/or distribute it, -dnl with or without modifications, as long as this notice is preserved. - -dnl This program is distributed in the hope that it will be useful, -dnl but WITHOUT ANY WARRANTY, to the extent permitted by law; without -dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A -dnl PARTICULAR PURPOSE. - -# lib-prefix.m4 serial 4 (gettext-0.14.2) -dnl Copyright (C) 2001-2005 Free Software Foundation, Inc. -dnl This file is free software; the Free Software Foundation -dnl gives unlimited permission to copy and/or distribut... [truncated message content] |
From: <ped...@us...> - 2009-09-06 23:23:14
|
Revision: 1372 http://cegcc.svn.sourceforge.net/cegcc/?rev=1372&view=rev Author: pedroalves Date: 2009-09-06 21:23:17 +0000 (Sun, 06 Sep 2009) Log Message: ----------- * Makefile.in (libceoldname.a): Specify COREDLL.dll as dll name, not coredll.dll. (libcoredll6.a): Remove rule. (lib%.a): Don't pass --dllname to dlltool if the .def file already specifies one with LIBRARY. Modified Paths: -------------- trunk/cegcc/src/mingw/ChangeLog.mingw32ce trunk/cegcc/src/mingw/Makefile.in Modified: trunk/cegcc/src/mingw/ChangeLog.mingw32ce =================================================================== --- trunk/cegcc/src/mingw/ChangeLog.mingw32ce 2009-09-06 20:50:57 UTC (rev 1371) +++ trunk/cegcc/src/mingw/ChangeLog.mingw32ce 2009-09-06 21:23:17 UTC (rev 1372) @@ -1,5 +1,13 @@ -2009-02-08 Pedro Alves <ped...@us...> +2009-09-06 Pedro Alves <ped...@us...> + * Makefile.in (libceoldname.a): Specify COREDLL.dll as dll name, + not coredll.dll. + (libcoredll6.a): Remove rule. + (lib%.a): Don't pass --dllname to dlltool if the .def file already + specifies one with LIBRARY. + +2009-09-06 Pedro Alves <ped...@us...> + * abort.c (abort): Exit with exit code 1 instead of 0. 2009-09-01 Danny Backx <dan...@us...> Modified: trunk/cegcc/src/mingw/Makefile.in =================================================================== --- trunk/cegcc/src/mingw/Makefile.in 2009-09-06 20:50:57 UTC (rev 1371) +++ trunk/cegcc/src/mingw/Makefile.in 2009-09-06 21:23:17 UTC (rev 1372) @@ -366,7 +366,7 @@ libceoldname.a: moldname-coredll.def $(MOLD_OBJS) $(DLLTOOL) --as $(AS) -k -U \ - --dllname coredll.dll \ + --dllname COREDLL.dll \ --def moldname-coredll.def \ --output-lib $@ $(AR) rc $@ $(MOLD_OBJS) @@ -619,11 +619,12 @@ MINGW_REPL_FUNCS = printf fprintf sprintf vprintf vfprintf vsprintf -libcoredll6.a: coredll6.def - $(DLLTOOL) --as=$(AS) -k --dllname coredll.dll --output-lib $@ --def $< - +# If the .def file specifies an explicit LIBRARY name, then don't +# override it with --dllname. lib%.a: %.def - $(DLLTOOL) --as=$(AS) -k --dllname $*.dll --output-lib $@ --def $< + grep -q "^LIBRARY " $< 2>&1 1>/dev/null \ + && $(DLLTOOL) --as=$(AS) -k --output-lib $@ --def $< \ + || $(DLLTOOL) --as=$(AS) -k --dllname $*.dll --output-lib $@ --def $< for key in $(MINGW_REPL_FUNCS); do \ src=`$(NM_LOOKUP)`; \ if test -n "$$src"; then \ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ped...@us...> - 2009-09-06 20:51:08
|
Revision: 1371 http://cegcc.svn.sourceforge.net/cegcc/?rev=1371&view=rev Author: pedroalves Date: 2009-09-06 20:50:57 +0000 (Sun, 06 Sep 2009) Log Message: ----------- Formatting. Modified Paths: -------------- trunk/cegcc/src/w32api/ChangeLog.ce Modified: trunk/cegcc/src/w32api/ChangeLog.ce =================================================================== --- trunk/cegcc/src/w32api/ChangeLog.ce 2009-09-06 20:35:09 UTC (rev 1370) +++ trunk/cegcc/src/w32api/ChangeLog.ce 2009-09-06 20:50:57 UTC (rev 1371) @@ -1,35 +1,35 @@ 2009-08-30 Danny Backx <dan...@us...> - * include/errorrep.h : Provide with WinCE > 5 too. - * include/winsock.h (AF_BT) : Copy from AF_BTH. + * include/errorrep.h: Provide with WinCE > 5 too. + * include/winsock.h (AF_BT): Copy from AF_BTH. 2009-08-30 Danny Backx <dan...@us...> - * include/shlobj.h (IShellExecuteHookA) : Guard with UNDER_CE. + * include/shlobj.h (IShellExecuteHookA): Guard with UNDER_CE. 2009-06-11 Danny Backx <dan...@us...> - * include/shellapi.h (struct _SHELLEXECUTEINFO) : Define instead of + * include/shellapi.h (struct _SHELLEXECUTEINFO): Define instead of its struct _SHELLEXECUTEINFO(A|W) brothers. 2009-06-11 Vincent Richomme <fo...@sm...> - * include/mapidefs.h, include/pimstore.h : New files. + * include/mapidefs.h, include/pimstore.h: New files. 2009-06-06 Danny Backx <dan...@us...> - * include/winbase.h (ExitProcess) : Change type of parameter to UINT. - * include/winbase.h (STACK_SIZE_PARAM_IS_A_RESERVATION) : Define with + * include/winbase.h (ExitProcess): Change type of parameter to UINT. + * include/winbase.h (STACK_SIZE_PARAM_IS_A_RESERVATION): Define with the value found on MSDN. 2009-05-29 Danny Backx <dan...@us...> - * include/winnt.h (DLL_PROCESS_EXITING, DLL_SYSTEM_STARTED, - FILE_ATTRIBUTE_ROMMODULE, FILE_ATTRIBUTE_INROM) : Define. - * include/dbgapi.h : New file. - * include/dbgapi (DEBUGREGISTER, RETAILREGISTERZONES, DEBUGCHK, - RETAILMSG, ASSERT) : Define. - * include/windows.h (dbgapi.h) : Include. + * include/winnt.h (DLL_PROCESS_EXITING, DLL_SYSTEM_STARTED) + (FILE_ATTRIBUTE_ROMMODULE, FILE_ATTRIBUTE_INROM): Define. + * include/dbgapi.h: New file. + * include/dbgapi (DEBUGREGISTER, RETAILREGISTERZONES, DEBUGCHK) + (RETAILMSG, ASSERT): Define. + * include/windows.h (dbgapi.h): Include. 2009-05-27 Stefan Klug <Klu...@gm...> @@ -38,59 +38,61 @@ 2009-05-22 Danny Backx <dan...@us...> - * include/winsock2.h (DSCP_TRAFFIC_TYPE) : Add typedef for enum. - * include/winsock2.h (AF_BT) : Add, copy of AF_BTH. - * include/ws2tcpip.h : Define some macros using "old" winsock 1.1 + * include/winsock2.h (DSCP_TRAFFIC_TYPE): Add typedef for enum. + * include/winsock2.h (AF_BT): Add, copy of AF_BTH. + * include/ws2tcpip.h: Define some macros using "old" winsock 1.1 values for CE. 2009-05-18 Danny Backx <dan...@us...> - * include/winbase.h (CRITICAL_SECTION) : Define differently for CE. - * include/winbase.h (ExitProcess) : Define as an inline function, not + * include/winbase.h (CRITICAL_SECTION): Define differently for CE. + * include/winbase.h (ExitProcess): Define as an inline function, not a macro. 2009-05-15 Pierre Ynard <lin...@ya...> - * include/kfuncs.h (ResetEvent, SetEvent) : Fix definitions that got + * include/kfuncs.h (ResetEvent, SetEvent): Fix definitions that got mixed up in recent commit. 2009-05-13 Danny Backx <dan...@us...> - * include/kfuncs.h (PUserKData) : Define as different values for - ARM and other processors. Add references to websites that have this - information. + * include/kfuncs.h (PUserKData): Define as different values for + ARM and other processors. Add references to websites that have + this information. 2009-04-28 Danny Backx <dan...@us...> - * include/winuser.h(GetMenu) : Remove for CE. - * include/winuser.h(SetProp*,GetProp*,RemoveProp*) : Define only the - right ones for CE, see bug #2328033. + * include/winuser.h (GetMenu): Remove for CE. + * include/winuser.h (SetProp*, GetProp*, RemoveProp*): Define only + the right ones for CE, see bug #2328033. 2009-04-28 Ryan Raasch <rya...@gm...> - * include/strmif.h (IEnumPins, IEnumMediaTypes) : Define. + * include/strmif.h (IEnumPins, IEnumMediaTypes): Define. -2009-04-20 Johnny Willemsen <jwi...@re...> +2009-04-20 Johnny Willemsen <jwi...@re...> - * include/winbase.h (CeSetThreadPriority, CeGetThreadPriority) : + * include/winbase.h (CeSetThreadPriority, CeGetThreadPriority): Declare. 2009-04-15 Danny Backx <dan...@us...> - * include/winbase.h : Include inlined functions only from one file. + * include/winbase.h: Include inlined functions only from one file. 2009-04-11 Danny Backx <dan...@us...> - * include/windefs.h, include/kfuncs.h : change inlined functions to + * include/windefs.h, include/kfuncs.h: change inlined functions to static, include them only from one file. 2009-04-10 Marcel Smit <ms...@re...> - * include/cegcc.h.in (__CEGCC_VERSION__) : Add backslashes at the end - of lines to allow line continuation. - * include/kfuncs.h (TlsAlloc, TlsFree, PulseEvent, ResetEvent, - SetEvent, GetCurrentThread, GetCurrentProcess, GetCurrentThreadId, - GetCurrentProcessId) : Change them from macros to inline functions. + * include/cegcc.h.in (__CEGCC_VERSION__): Add backslashes at the + end of lines to allow line continuation. + + * include/kfuncs.h (TlsAlloc, TlsFree, PulseEvent, ResetEvent) + (SetEvent, GetCurrentThread, GetCurrentProcess) + (GetCurrentThreadId, GetCurrentProcessId): Change them from macros + to inline functions. 2009-02-07 Pedro Alves <ped...@us...> @@ -98,21 +100,21 @@ 2009-02-01 Ryan Raasch <rya...@gm...> - * libce/directx/strmiids.c : New file, copy from src/lib/directx. - * include/bdatypes.h, include/dshow.h, include/strmif.h : Make the + * libce/directx/strmiids.c: New file, copy from src/lib/directx. + * include/bdatypes.h, include/dshow.h, include/strmif.h: Make the UUIDs extern so executables can link. 2009-01-28 Ryan Raasch <rya...@gm...> - * libce/coredll.def, include/winbase.h : Add various definitions to + * libce/coredll.def, include/winbase.h: Add various definitions to support EnumDeviceInterfaces, EnumDevices, FindFirstDevice, FindNextDevice, GetDeviceInformationByDeviceHandle, GetDeviceInformationByFileHandle. 2009-01-27 Danny Backx <dan...@us...> - * include/winsock.h, include/winsock2.h: Add various macros to define - constants used for Bluetooth. + * include/winsock.h, include/winsock2.h: Add various macros to + define constants used for Bluetooth. 2009-01-25 Danny Backx <dan...@us...> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ped...@us...> - 2009-09-06 20:35:21
|
Revision: 1370 http://cegcc.svn.sourceforge.net/cegcc/?rev=1370&view=rev Author: pedroalves Date: 2009-09-06 20:35:09 +0000 (Sun, 06 Sep 2009) Log Message: ----------- * abort.c (abort): Exit with exit code 1 instead of 0. Modified Paths: -------------- trunk/cegcc/src/mingw/ChangeLog.mingw32ce trunk/cegcc/src/mingw/abort.c Modified: trunk/cegcc/src/mingw/ChangeLog.mingw32ce =================================================================== --- trunk/cegcc/src/mingw/ChangeLog.mingw32ce 2009-09-06 20:32:07 UTC (rev 1369) +++ trunk/cegcc/src/mingw/ChangeLog.mingw32ce 2009-09-06 20:35:09 UTC (rev 1370) @@ -1,3 +1,7 @@ +2009-02-08 Pedro Alves <ped...@us...> + + * abort.c (abort): Exit with exit code 1 instead of 0. + 2009-09-01 Danny Backx <dan...@us...> * include/tchar.h (_tcsnccpy, _tcsncpy, _tcsclen): Define. Modified: trunk/cegcc/src/mingw/abort.c =================================================================== --- trunk/cegcc/src/mingw/abort.c 2009-09-06 20:32:07 UTC (rev 1369) +++ trunk/cegcc/src/mingw/abort.c 2009-09-06 20:35:09 UTC (rev 1370) @@ -4,6 +4,6 @@ void abort(void) { - TerminateProcess (GetCurrentProcess(), 0); + TerminateProcess (GetCurrentProcess(), 1); while (1); /* Kill 'noreturn function does return' warning. */ } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ped...@us...> - 2009-09-06 20:32:17
|
Revision: 1369 http://cegcc.svn.sourceforge.net/cegcc/?rev=1369&view=rev Author: pedroalves Date: 2009-09-06 20:32:07 +0000 (Sun, 06 Sep 2009) Log Message: ----------- Fix formatting. Modified Paths: -------------- trunk/cegcc/src/mingw/ChangeLog.mingw32ce Modified: trunk/cegcc/src/mingw/ChangeLog.mingw32ce =================================================================== --- trunk/cegcc/src/mingw/ChangeLog.mingw32ce 2009-09-06 18:59:09 UTC (rev 1368) +++ trunk/cegcc/src/mingw/ChangeLog.mingw32ce 2009-09-06 20:32:07 UTC (rev 1369) @@ -1,92 +1,94 @@ 2009-09-01 Danny Backx <dan...@us...> - * include/tchar.h (_tcsnccpy, _tcsncpy, _tcsclen) : Define. + * include/tchar.h (_tcsnccpy, _tcsncpy, _tcsclen): Define. 2009-08-27 Vincent Torri <vt...@un...> Danny Backx <dan...@us...> - * include/sys/time.h (struct timezone) : Protect by _TIMEZONE_DEFINED. + * include/sys/time.h (struct timezone): Protect by + _TIMEZONE_DEFINED. 2009-08-26 Vincent Torri <vt...@un...> Danny Backx <dan...@us...> - * include/io.h (_finddata_t, _finddatai64_t, __finddata64_t) : + * include/io.h (_finddata_t, _finddatai64_t, __finddata64_t): Protect by _FINDDATA_T_DEFINED. 2009-07-25 Martin Storsjö <ma...@ma...> - * include/conio.h : Make conio.h unavailable on mingw32ce. + * include/conio.h: Make conio.h unavailable on mingw32ce. 2009-07-25 Martin Storsjö <ma...@ma...> - * include/io.h (_wopen) : Define also when __COREDLL__. - * include/wchar.h (_wopen) : Same. - * mingwex/wince/open.c : Add _wopen, split up the static + * include/io.h (_wopen): Define also when __COREDLL__. + * include/wchar.h (_wopen): Same. + * mingwex/wince/open.c: Add _wopen, split up the static implementation function into two pieces for this. 2009-07-20 Danny Backx <dan...@us...> - * include/stdlib.h : Move atoll definition out of __STRICT_ANSI__, see - bug #2821869. - * include/stdlib.h : Remove the __COREDLL__ definition of atoll. + * include/stdlib.h: Move atoll definition out of __STRICT_ANSI__, + see bug #2821869. + * include/stdlib.h: Remove the __COREDLL__ definition of atoll. 2009-07-20 Danny Backx <dan...@us...> - * mingwex/Makefile.in : Compile atoll always, it's C99. + * mingwex/Makefile.in: Compile atoll always, it's C99. 2009-06-21 Danny Backx <dan...@us...> - * mingwex/wince/i386/setjmp.S,i386mach.h : New files, implement setjmp - and longjmp on i386 because the CE support is absent. - * include/setjmp.h (_JBLEN) : Set the right size for jmp_buf. - * mingwex/Makefile.in : Build the new sources on i386 only. + * mingwex/wince/i386/setjmp.S, mingwex/wince/i386/i386mach.h: New + files, implement setjmp and longjmp on i386 because the CE support + is absent. + * include/setjmp.h (_JBLEN): Set the right size for jmp_buf. + * mingwex/Makefile.in: Build the new sources on i386 only. 2009-05-20 Vincent Richomme <fo...@sm...> - * Makefile.in : replace COREDLL by coredll.dll in definition of + * Makefile.in: Replace COREDLL by coredll.dll in definition of libceoldname, to decrease different DLL loads in applications. 2009-05-20 Danny Backx <dan...@us...> - * mingwex/wince/findfile.c (_findnext) : Return 0, not the handle, on - success. - * include/io.h (getcwd,chdir,mktemp) : Remove definitions. + * mingwex/wince/findfile.c (_findnext): Return 0, not the handle, + on success. + * include/io.h (getcwd,chdir,mktemp): Remove definitions. 2009-05-18 Danny Backx <dan...@us...> - * include/stdio.h (fileno, _fileno) : Define as void* instead of int. + * include/stdio.h (fileno, _fileno): Define as void* instead of int. 2009-05-14 Danny Backx <dan...@us...> - * mingwex/stdio/pformat.c : Work around %f issue by selecting the + * mingwex/stdio/pformat.c: Work around %f issue by selecting the older implementation. 2009-04-28 Danny Backx <dan...@us...> - * coredll6.def (LockFileEx,UnLockFileEx,GetSystemTimeAsFileTime) : + * coredll6.def (LockFileEx,UnLockFileEx,GetSystemTimeAsFileTime): Add. See feature request #2750015. - * coredll6.def : Replace UnLockFileEx by UnlockFileEx. + * coredll6.def: Replace UnLockFileEx by UnlockFileEx. 2009-04-26 Danny Backx <dan...@us...> - * coredll6.def : New file. - * Makefile.in (libcoredll6.a) : New target to build a library that + * coredll6.def: New file. + * Makefile.in (libcoredll6.a): New target to build a library that supports APIs new to higher versions of CE (to be sure that people who also aim older devices can develop with the regular library). - * Makefile.in (lib%.a) : Remove the rule for ofmt_stub.o, it always + * Makefile.in (lib%.a): Remove the rule for ofmt_stub.o, it always fails because it relies on a function that is a macro in our sources. 2009-04-22 Danny Backx <dan...@us...> - * include/_mingw.h : Change test to check for __arm__ instead of - __ARM__. The latter is only declared by an include file, the former - is built into the compiler. + * include/_mingw.h: Change test to check for __arm__ instead of + __ARM__. The latter is only declared by an include file, the + former is built into the compiler. 2009-04-16 Danny Backx <dan...@us...> - * Makefile.in (DLLSTARTUPSYM): Create extra variable to prefix - the DllMainCRTStartup symbol with an underscore when on an x86 target. - * include/_mingw.h (__U, __IMP) : Define them separately for x86. + * Makefile.in (DLLSTARTUPSYM): Create extra variable to prefix the + DllMainCRTStartup symbol with an underscore when on an x86 target. + * include/_mingw.h (__U, __IMP): Define them separately for x86. 2009-04-16 Johnny Willemsen <jwi...@re...> @@ -98,7 +100,7 @@ 2009-04-07 Danny Backx <dan...@us...> - * include/stdio.h (_wfdopen) : Add const keyword to 2nd parameter + * include/stdio.h (_wfdopen): Add const keyword to 2nd parameter after discussion on the mailing list. 2009-02-08 Pedro Alves <ped...@us...> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |