Remove using .end directive with clang

Clang does not support this asm directive
Fixes Issue #19

Signed-off-by: Khem Raj <raj.khem@gmail.com>
master
Khem Raj 2020-04-10 11:23:39 -07:00
parent 272d682103
commit b6732f6884
1 changed files with 4 additions and 1 deletions

View File

@ -28,10 +28,13 @@
ENT(__proc) \
__proc: \
SETUP_FRAME(__proc)
#ifdef __clang__
#define END(__proc)
#else
#define END(__proc) \
.end __proc; \
.size __proc,.-__proc;
#endif
#define ALIAS(__alias, __real) \
.weak __alias; \