Add simpler EPILOGUE for clang

This commit is contained in:
Martin Kroeker 2024-10-03 16:01:10 +02:00 committed by GitHub
parent a492181665
commit f817f26062
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 0 deletions

View File

@ -281,9 +281,13 @@ REALNAME: ;\
#define GNUSTACK
#endif /* defined(__linux__) && defined(__ELF__) */
#ifdef __clang__
#define EPILOGUE .end
#else
#define EPILOGUE \
.end REALNAME ;\
GNUSTACK
#endif
#define PROFCODE