Merge pull request #20 from kraj/master

Remove using .end directive with clang
pull/21/head
Ariadne Conill 2020-04-12 13:21:28 -05:00 committed by GitHub
commit 19fa1bbfc2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -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; \