Author: tfaber
Date: Sat Oct 25 00:08:23 2014
New Revision: 64974
URL:
http://svn.reactos.org/svn/reactos?rev=64974&view=rev
Log:
[CRT]
- Add frame pointer omission information to assembly string functions to fix debugging
annoyances. Reviews appreciated
Modified:
trunk/reactos/lib/sdk/crt/string/i386/tcscat.inc
trunk/reactos/lib/sdk/crt/string/i386/tcschr.inc
trunk/reactos/lib/sdk/crt/string/i386/tcscmp.inc
trunk/reactos/lib/sdk/crt/string/i386/tcslen.inc
trunk/reactos/lib/sdk/crt/string/i386/tcsncat.inc
trunk/reactos/lib/sdk/crt/string/i386/tcsncmp.inc
trunk/reactos/lib/sdk/crt/string/i386/tcsncpy.inc
trunk/reactos/lib/sdk/crt/string/i386/tcsnlen.inc
trunk/reactos/lib/sdk/crt/string/i386/tcsrchr.inc
Modified: trunk/reactos/lib/sdk/crt/string/i386/tcscat.inc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/string/i386/tc…
==============================================================================
--- trunk/reactos/lib/sdk/crt/string/i386/tcscat.inc [iso-8859-1] (original)
+++ trunk/reactos/lib/sdk/crt/string/i386/tcscat.inc [iso-8859-1] Sat Oct 25 00:08:23
2014
@@ -5,7 +5,8 @@
PUBLIC _tcscat
.code
-_tcscat:
+FUNC _tcscat
+ FPO 0, 2, 2, 2, 0, FRAME_FPO
push esi
push edi
mov edi, [esp + 12]
@@ -28,6 +29,7 @@
pop edi
pop esi
ret
+ENDFUNC
END
/* EOF */
Modified: trunk/reactos/lib/sdk/crt/string/i386/tcschr.inc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/string/i386/tc…
==============================================================================
--- trunk/reactos/lib/sdk/crt/string/i386/tcschr.inc [iso-8859-1] (original)
+++ trunk/reactos/lib/sdk/crt/string/i386/tcschr.inc [iso-8859-1] Sat Oct 25 00:08:23
2014
@@ -5,7 +5,8 @@
PUBLIC _tcschr
.code
-_tcschr:
+FUNC _tcschr
+ FPO 0, 2, 1, 1, 0, FRAME_FPO
push esi
mov esi, [esp + 8]
mov edx, [esp + 12]
@@ -25,6 +26,7 @@
pop esi
ret
+ENDFUNC
END
/* EOF */
Modified: trunk/reactos/lib/sdk/crt/string/i386/tcscmp.inc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/string/i386/tc…
==============================================================================
--- trunk/reactos/lib/sdk/crt/string/i386/tcscmp.inc [iso-8859-1] (original)
+++ trunk/reactos/lib/sdk/crt/string/i386/tcscmp.inc [iso-8859-1] Sat Oct 25 00:08:23
2014
@@ -5,7 +5,8 @@
PUBLIC _tcscmp
.code
-_tcscmp:
+FUNC _tcscmp
+ FPO 0, 2, 2, 2, 0, FRAME_FPO
push esi
push edi
mov esi, [esp + 12]
@@ -30,6 +31,7 @@
pop edi
pop esi
ret
+ENDFUNC
END
/* EOF */
Modified: trunk/reactos/lib/sdk/crt/string/i386/tcslen.inc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/string/i386/tc…
==============================================================================
--- trunk/reactos/lib/sdk/crt/string/i386/tcslen.inc [iso-8859-1] (original)
+++ trunk/reactos/lib/sdk/crt/string/i386/tcslen.inc [iso-8859-1] Sat Oct 25 00:08:23
2014
@@ -5,7 +5,8 @@
PUBLIC _tcslen
.code
-_tcslen:
+FUNC _tcslen
+ FPO 0, 1, 1, 1, 0, FRAME_FPO
push edi
mov edi, [esp + 8]
xor eax, eax
@@ -25,6 +26,7 @@
_tcslen_end:
pop edi
ret
+ENDFUNC
END
/* EOF */
Modified: trunk/reactos/lib/sdk/crt/string/i386/tcsncat.inc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/string/i386/tc…
==============================================================================
--- trunk/reactos/lib/sdk/crt/string/i386/tcsncat.inc [iso-8859-1] (original)
+++ trunk/reactos/lib/sdk/crt/string/i386/tcsncat.inc [iso-8859-1] Sat Oct 25 00:08:23
2014
@@ -5,7 +5,8 @@
PUBLIC _tcsncat
.code
-_tcsncat:
+FUNC _tcsncat
+ FPO 0, 3, 2, 2, 0, FRAME_FPO
push esi
push edi
mov edi, [esp + 12]
@@ -38,6 +39,7 @@
pop esi
ret
+ENDFUNC
END
/* EOF */
Modified: trunk/reactos/lib/sdk/crt/string/i386/tcsncmp.inc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/string/i386/tc…
==============================================================================
--- trunk/reactos/lib/sdk/crt/string/i386/tcsncmp.inc [iso-8859-1] (original)
+++ trunk/reactos/lib/sdk/crt/string/i386/tcsncmp.inc [iso-8859-1] Sat Oct 25 00:08:23
2014
@@ -5,7 +5,8 @@
PUBLIC _tcsncmp
.code
-_tcsncmp:
+FUNC _tcsncmp
+ FPO 0, 3, 2, 2, 0, FRAME_FPO
push esi
push edi
mov esi, [esp + 12] /* s1 */
@@ -36,6 +37,7 @@
pop edi
pop esi
ret
+ENDFUNC
END
/* EOF */
Modified: trunk/reactos/lib/sdk/crt/string/i386/tcsncpy.inc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/string/i386/tc…
==============================================================================
--- trunk/reactos/lib/sdk/crt/string/i386/tcsncpy.inc [iso-8859-1] (original)
+++ trunk/reactos/lib/sdk/crt/string/i386/tcsncpy.inc [iso-8859-1] Sat Oct 25 00:08:23
2014
@@ -5,7 +5,8 @@
PUBLIC _tcsncpy
.code
-_tcsncpy:
+FUNC _tcsncpy
+ FPO 0, 3, 2, 2, 0, FRAME_FPO
push esi
push edi
mov edi, [esp + 12] /* s1 */
@@ -30,6 +31,7 @@
pop edi
pop esi
ret
+ENDFUNC
END
/* EOF */
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] Sat Oct 25 00:08:23
2014
@@ -5,7 +5,8 @@
PUBLIC _tcsnlen
.code
-_tcsnlen:
+FUNC _tcsnlen
+ FPO 0, 1, 1, 1, 0, FRAME_FPO
push edi
mov edi, [esp + 8]
mov ecx, [esp + 12]
@@ -26,6 +27,7 @@
.L1:
pop edi
ret
+ENDFUNC
END
/* EOF */
Modified: trunk/reactos/lib/sdk/crt/string/i386/tcsrchr.inc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/string/i386/tc…
==============================================================================
--- trunk/reactos/lib/sdk/crt/string/i386/tcsrchr.inc [iso-8859-1] (original)
+++ trunk/reactos/lib/sdk/crt/string/i386/tcsrchr.inc [iso-8859-1] Sat Oct 25 00:08:23
2014
@@ -5,7 +5,8 @@
PUBLIC _tcsrchr
.code
-_tcsrchr:
+FUNC _tcsrchr
+ FPO 0, 2, 1, 1, 0, FRAME_FPO
push esi
mov esi, [esp + 8]
mov edx, [esp + 12]
@@ -27,6 +28,7 @@
_tdec(eax)
pop esi
ret
+ENDFUNC
END
/* EOF */