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>pull/20/head
parent
272d682103
commit
b6732f6884
|
@ -28,10 +28,13 @@
|
||||||
ENT(__proc) \
|
ENT(__proc) \
|
||||||
__proc: \
|
__proc: \
|
||||||
SETUP_FRAME(__proc)
|
SETUP_FRAME(__proc)
|
||||||
|
#ifdef __clang__
|
||||||
|
#define END(__proc)
|
||||||
|
#else
|
||||||
#define END(__proc) \
|
#define END(__proc) \
|
||||||
.end __proc; \
|
.end __proc; \
|
||||||
.size __proc,.-__proc;
|
.size __proc,.-__proc;
|
||||||
|
#endif
|
||||||
|
|
||||||
#define ALIAS(__alias, __real) \
|
#define ALIAS(__alias, __real) \
|
||||||
.weak __alias; \
|
.weak __alias; \
|
||||||
|
|
Loading…
Reference in New Issue