common-defs: allow override of END assembly macro
ci/woodpecker/push/woodpecker Pipeline was successful Details

GCC 14 on ARM does not recognize the `.end` directive anymore,
it seems.
master
Ariadne Conill 2024-08-07 19:58:30 -07:00
parent 3e5059e8a1
commit 828fc9e950
1 changed files with 3 additions and 0 deletions

View File

@ -40,6 +40,8 @@
ENT(__proc) \
PROC_NAME(__proc): \
SETUP_FRAME(__proc)
#ifndef END
#ifdef __clang__
#define END(__proc)
#else
@ -47,6 +49,7 @@ PROC_NAME(__proc): \
.end __proc; \
.size __proc,.-__proc;
#endif
#endif
#ifdef EXPORT_UNPREFIXED
#define ALIAS(__alias, __real) \