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:
Arun Thomas
2010-08-17 16:44:07 +00:00
parent c8cfcab5db
commit 9a21d1a2fd
209 changed files with 1511 additions and 1863 deletions
+3 -4
View File
@@ -4,10 +4,9 @@
/* void *memset(void *s, int c, size_t n) */
/* Set a chunk of memory to the same byte value. */
/* */
.text
.globl _memset
.balign 16
_memset:
#include <machine/asm.h>
ENTRY(memset)
push %ebp
movl %esp, %ebp
push %edi