[include][asm] add more FUNCTION and DATA macros for assembly

This commit is contained in:
Travis Geiselbrecht
2013-01-12 20:29:51 -08:00
parent eba2fa90f3
commit 837c0aa718

View File

@@ -24,6 +24,10 @@
#define __ASM_H
#define FUNCTION(x) .global x; .type x,STT_FUNC; x:
#define DATA(x) .global x; .type x,STT_OBJECT; x:
#define LOCAL_FUNCTION(x) .type x,STT_FUNC; x:
#define LOCAL_DATA(x) .type x,STT_OBJECT; x:
#endif