Macros for symbols used in both ASM and C
-The macros take care of prepending the leading underscore when necessary.
This commit is contained in:
@@ -4,10 +4,9 @@
|
||||
/* int memcmp(const void *s1, const void *s2, size_t n) */
|
||||
/* Compare two chunks of memory. */
|
||||
/* */
|
||||
.text
|
||||
.globl _memcmp
|
||||
.balign 16
|
||||
_memcmp:
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(memcmp)
|
||||
cld
|
||||
push %ebp
|
||||
movl %esp, %ebp
|
||||
|
||||
Reference in New Issue
Block a user