OSDN Git Service

add ENDPROC() macro for Blackfin assembly
authorMike Frysinger <vapier@gentoo.org>
Thu, 11 Dec 2008 10:02:20 +0000 (10:02 -0000)
committerMike Frysinger <vapier@gentoo.org>
Thu, 11 Dec 2008 10:02:20 +0000 (10:02 -0000)
libc/sysdeps/linux/bfin/sysdep.h

index 4080c22..0a63368 100644 (file)
@@ -14,6 +14,7 @@
 #ifdef __ASSEMBLER__
 
 #define ENTRY(sym) .global sym; .type sym, STT_FUNC; sym:
+#define ENDPROC(sym) .size sym, . - sym
 
 #endif