Author: tfaber
Date: Sun Oct 26 17:32:00 2014
New Revision: 65021
URL:
http://svn.reactos.org/svn/reactos?rev=65021&view=rev
Log:
[CRT]
- Fix strlen/wcslen FPO specification. Spotted by Timo.
- Also add FPO info for memset, memchr, memmove/memcpy
Modified:
trunk/reactos/lib/sdk/crt/mem/i386/memchr_asm.s
trunk/reactos/lib/sdk/crt/mem/i386/memmove_asm.s
trunk/reactos/lib/sdk/crt/mem/i386/memset_asm.s
trunk/reactos/lib/sdk/crt/string/i386/tcsnlen.inc
Modified: trunk/reactos/lib/sdk/crt/mem/i386/memchr_asm.s
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/mem/i386/memch…
==============================================================================
--- trunk/reactos/lib/sdk/crt/mem/i386/memchr_asm.s [iso-8859-1] (original)
+++ trunk/reactos/lib/sdk/crt/mem/i386/memchr_asm.s [iso-8859-1] Sun Oct 26 17:32:00 2014
@@ -14,7 +14,8 @@
PUBLIC _memchr
.code
-_memchr:
+FUNC _memchr
+ FPO 0, 3, 4, 1, 1, FRAME_NONFPO
push ebp
mov ebp, esp
push edi
@@ -33,5 +34,6 @@
pop edi
leave
ret
+ENDFUNC
END
Modified: trunk/reactos/lib/sdk/crt/mem/i386/memmove_asm.s
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/mem/i386/memmo…
==============================================================================
--- trunk/reactos/lib/sdk/crt/mem/i386/memmove_asm.s [iso-8859-1] (original)
+++ trunk/reactos/lib/sdk/crt/mem/i386/memmove_asm.s [iso-8859-1] Sun Oct 26 17:32:00
2014
@@ -11,7 +11,8 @@
.code
_memcpy:
-_memmove:
+FUNC _memmove
+ FPO 0, 3, 5, 2, 1, FRAME_NONFPO
push ebp
mov ebp, esp
@@ -116,5 +117,6 @@
dec esi
dec edi
jmp .L8
+ENDFUNC
END
Modified: trunk/reactos/lib/sdk/crt/mem/i386/memset_asm.s
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/mem/i386/memse…
==============================================================================
--- trunk/reactos/lib/sdk/crt/mem/i386/memset_asm.s [iso-8859-1] (original)
+++ trunk/reactos/lib/sdk/crt/mem/i386/memset_asm.s [iso-8859-1] Sun Oct 26 17:32:00 2014
@@ -9,7 +9,8 @@
PUBLIC _memset
.code
-_memset:
+FUNC _memset
+ FPO 0, 3, 4, 1, 1, FRAME_NONFPO
push ebp
mov ebp, esp
push edi
@@ -45,5 +46,6 @@
mov eax, [ebp + 8]
leave
ret
+ENDFUNC
END
Modified: trunk/reactos/lib/sdk/crt/string/i386/tcsnlen.inc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/string/i386/tc…
==============================================================================
--- trunk/reactos/lib/sdk/crt/string/i386/tcsnlen.inc [iso-8859-1] (original)
+++ trunk/reactos/lib/sdk/crt/string/i386/tcsnlen.inc [iso-8859-1] Sun Oct 26 17:32:00
2014
@@ -6,7 +6,7 @@
.code
FUNC _tcsnlen
- FPO 0, 1, 1, 1, 0, FRAME_FPO
+ FPO 0, 2, 1, 1, 0, FRAME_FPO
push edi
mov edi, [esp + 8]
mov ecx, [esp + 12]