Don't pass REALNAME to `.end`
authorKeno Fischer <kfischer+github@college.harvard.edu>
Sun, 13 Mar 2016 22:56:21 +0000 (18:56 -0400)
committerKeno Fischer <kfischer+github@college.harvard.edu>
Sun, 13 Mar 2016 22:56:21 +0000 (18:56 -0400)
Putting the procedure there is an MSVC-ism, where it is optional. GCC silently ignores and Clang errors, so it is best to remove this.

common_x86_64.h

index da9afc0..11937b4 100644 (file)
@@ -396,7 +396,7 @@ REALNAME:
 
 #define PROFCODE
 
-#define EPILOGUE .end   REALNAME
+#define EPILOGUE .end
 #endif
 
 #if defined(OS_LINUX) || defined(OS_FREEBSD) || defined(OS_NETBSD) || defined(__ELF__) || defined(C_PGI)