[asm] add END_FUNCTION and END_DATA macros and mark up some riscv assembly
Doesn't really do much but at least sets the symbol size properly in a symbol dump.
This commit is contained in:
@@ -12,3 +12,6 @@
|
||||
|
||||
#define LOCAL_FUNCTION(x) .type x,STT_FUNC; x:
|
||||
#define LOCAL_DATA(x) .type x,STT_OBJECT; x:
|
||||
|
||||
#define END_FUNCTION(x) .size x, . - x
|
||||
#define END_DATA(x) .size x, . - x
|
||||
|
||||
Reference in New Issue
Block a user