summaryrefslogtreecommitdiff
path: root/libc/sysdeps
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-12-11 10:02:20 +0000
committerMike Frysinger <vapier@gentoo.org>2008-12-11 10:02:20 +0000
commitbbcb6b8c7e5926f7b9f919b3ce843c781c1f7fe4 (patch)
tree718cc3642fbf78fb7db121e7488add1011dc42e8 /libc/sysdeps
parentd5347dd20a79a4f2b80d6910dc02d6b38017d1b2 (diff)
add ENDPROC() macro for Blackfin assembly
Diffstat (limited to 'libc/sysdeps')
-rw-r--r--libc/sysdeps/linux/bfin/sysdep.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/bfin/sysdep.h b/libc/sysdeps/linux/bfin/sysdep.h
index 4080c22a4..0a633681b 100644
--- a/libc/sysdeps/linux/bfin/sysdep.h
+++ b/libc/sysdeps/linux/bfin/sysdep.h
@@ -14,6 +14,7 @@
#ifdef __ASSEMBLER__
#define ENTRY(sym) .global sym; .type sym, STT_FUNC; sym:
+#define ENDPROC(sym) .size sym, . - sym
#endif