Browse Source

Add simpler EPILOGUE for clang

tags/v0.3.29
Martin Kroeker GitHub 1 year ago
parent
commit
f817f26062
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      common_loongarch64.h

+ 4
- 0
common_loongarch64.h View File

@@ -281,9 +281,13 @@ REALNAME: ;\
#define GNUSTACK #define GNUSTACK
#endif /* defined(__linux__) && defined(__ELF__) */ #endif /* defined(__linux__) && defined(__ELF__) */


#ifdef __clang__
#define EPILOGUE .end
#else
#define EPILOGUE \ #define EPILOGUE \
.end REALNAME ;\ .end REALNAME ;\
GNUSTACK GNUSTACK
#endif


#define PROFCODE #define PROFCODE




Loading…
Cancel
Save