- Move ctype into strings.

- Separate msvcrt-specific exception handling routine into prolog.s file.
- Move bsearch to the search directory.

svn path=/trunk/; revision=30267
This commit is contained in:
Aleksey Bragin 2007-11-08 12:15:39 +00:00
parent 6b0e42017a
commit 75b952dde1
5 changed files with 29 additions and 16 deletions

View file

@ -23,9 +23,6 @@
<file>putch.c</file>
<file>ungetch.c</file>
</directory>
<directory name="ctype">
<file>ctype.c</file>
</directory>
<directory name="direct">
<file>chdir.c</file>
<file>chdrive.c</file>
@ -47,6 +44,7 @@
<file>matherr.c</file>
<if property="ARCH" value="i386">
<directory name="i386">
<file>prolog.s</file>
<file>seh.s</file>
<file>unwind.c</file>
</directory>
@ -413,6 +411,7 @@
<file>wcsrchr.c</file>
</ifnot>
<file>atof.c</file>
<file>ctype.c</file>
<file>lasttok.c</file>
<file>strcoll.c</file>
<file>strdup.c</file>

View file

@ -0,0 +1,27 @@
/*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS CRT
* FILE: lib/crt/misc/i386/prolog.s
* PURPOSE: SEH Support for the CRT
* PROGRAMMERS: Wine Development Team
*/
/* INCLUDES ******************************************************************/
#include <ndk/asm.h>
/* GLOBALS *******************************************************************/
.globl __EH_prolog
// Copied from Wine.
__EH_prolog:
pushl $-1
pushl %eax
pushl %fs:0
movl %esp, %fs:0
movl 12(%esp), %eax
movl %ebp, 12(%esp)
leal 12(%esp), %ebp
pushl %eax
ret

View file

@ -56,7 +56,6 @@
.globl __local_unwind2
.globl __except_handler3
.globl __EH_prolog
// EAX = value to print
_do_debug:
@ -366,15 +365,3 @@ _except_finish:
// We should never get here
ret
// Copied from Wine.
__EH_prolog:
pushl $-1
pushl %eax
pushl %fs:0
movl %esp, %fs:0
movl 12(%esp), %eax
movl %ebp, 12(%esp)
leal 12(%esp), %ebp
pushl %eax
ret