Convert library asm files to GAS syntax
This commit is contained in:
12
lib/libc/arch/i386/string/strcmp.S
Normal file
12
lib/libc/arch/i386/string/strcmp.S
Normal file
@@ -0,0 +1,12 @@
|
||||
/* strcmp() Author: Kees J. Bot */
|
||||
/* 1 Jan 1994 */
|
||||
|
||||
/* int strcmp(const char *s1, const char *s2) */
|
||||
/* Compare two strings. */
|
||||
/* */
|
||||
.text
|
||||
.globl _strcmp
|
||||
.balign 16
|
||||
_strcmp:
|
||||
movl $-1, %ecx /* Unlimited length */
|
||||
jmp __strncmp /* Common code */
|
||||
Reference in New Issue
Block a user