Browse Source

Fixed EPILOGUE for clang.

tags/v0.2.15^2
Hank Anderson 10 years ago
parent
commit
3649cfbd7b
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      common_x86.h

+ 4
- 0
common_x86.h View File

@@ -313,8 +313,12 @@ REALNAME:


#define PROFCODE #define PROFCODE


#ifdef __clang__
#define EPILOGUE .end
#else
#define EPILOGUE .end REALNAME #define EPILOGUE .end REALNAME
#endif #endif
#endif


#if defined(OS_LINUX) || defined(OS_FREEBSD) || defined(OS_NETBSD) || defined(__ELF__) #if defined(OS_LINUX) || defined(OS_FREEBSD) || defined(OS_NETBSD) || defined(__ELF__)
#define PROLOGUE \ #define PROLOGUE \


Loading…
Cancel
Save