summaryrefslogtreecommitdiff
path: root/usr/src/lib/libc/i386_hwcap1
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/lib/libc/i386_hwcap1')
-rw-r--r--usr/src/lib/libc/i386_hwcap1/gen/memcpy.s4
-rw-r--r--usr/src/lib/libc/i386_hwcap1/gen/memset.s4
2 files changed, 2 insertions, 6 deletions
diff --git a/usr/src/lib/libc/i386_hwcap1/gen/memcpy.s b/usr/src/lib/libc/i386_hwcap1/gen/memcpy.s
index 745a1ce5d7..ebecf1e1a8 100644
--- a/usr/src/lib/libc/i386_hwcap1/gen/memcpy.s
+++ b/usr/src/lib/libc/i386_hwcap1/gen/memcpy.s
@@ -24,7 +24,7 @@
* Use is subject to license terms.
*/
- .ident "%Z%%M% %I% %E% SMI"
+#pragma ident "%Z%%M% %I% %E% SMI"
.file "%M%"
@@ -33,8 +33,6 @@
ANSI_PRAGMA_WEAK(memmove,function)
ANSI_PRAGMA_WEAK(memcpy,function)
-#include "SYS.h"
-
ENTRY(memmove)
movl 0+12(%esp),%ecx / get number of bytes to move
pushl %esi / save off %edi, %esi and move destination
diff --git a/usr/src/lib/libc/i386_hwcap1/gen/memset.s b/usr/src/lib/libc/i386_hwcap1/gen/memset.s
index 740173118e..bbdb71c870 100644
--- a/usr/src/lib/libc/i386_hwcap1/gen/memset.s
+++ b/usr/src/lib/libc/i386_hwcap1/gen/memset.s
@@ -24,7 +24,7 @@
* Use is subject to license terms.
*/
- .ident "%Z%%M% %I% %E% SMI"
+#pragma ident "%Z%%M% %I% %E% SMI"
.file "%M%"
@@ -32,8 +32,6 @@
ANSI_PRAGMA_WEAK(memset,function)
-#include "SYS.h"
-
ENTRY(memset)
pushl %edi / save register variable
movl 8(%esp),%edi / %edi = string address