[include][asm] add more FUNCTION and DATA macros for assembly
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user