changeset 269:3581366858a6

- cleanups
author Tassilo Philipp
date Sat, 27 May 2017 19:59:11 +0200
parents 03f0b683918a
children b74f30d19967
files autovar/autovar_CC.h dyncall/dyncall_call.S dyncallback/dyncall_callback_arch.S
diffstat 3 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/autovar/autovar_CC.h	Sat May 27 19:57:34 2017 +0200
+++ b/autovar/autovar_CC.h	Sat May 27 19:59:11 2017 +0200
@@ -33,6 +33,8 @@
 #define CC_INTEL
 #elif defined(_MSC_VER)
 #define CC_MSVC
+#elif defined(__clang__) || defined(__llvm__)
+#define CC_CLANG
 #elif defined(__GNUC__)
 #define CC_GNU
 #elif defined(__WATCOMC__)
--- a/dyncall/dyncall_call.S	Sat May 27 19:57:34 2017 +0200
+++ b/dyncall/dyncall_call.S	Sat May 27 19:59:11 2017 +0200
@@ -80,7 +80,7 @@
 
 /* Use .note.GNU-stack to explicitly indicate a non-exec stack, b/c of bad   */
 /* default behaviour when translating handwritten assembly files (needed on  */
-/* GNU/* platforms, Android and FreeBSD, as tests have shown).               */
+/* GNU platforms, Android and FreeBSD, as tests have shown).                 */
 #if (defined(DC__C_CLANG) || defined(DC__C_GNU)) && defined(__ELF__) && (defined(DC__OS_Linux) || defined(DC__OS_FreeBSD))
 .section .note.GNU-stack,"",%progbits
 #endif
--- a/dyncallback/dyncall_callback_arch.S	Sat May 27 19:57:34 2017 +0200
+++ b/dyncallback/dyncall_callback_arch.S	Sat May 27 19:59:11 2017 +0200
@@ -82,7 +82,7 @@
 
 /* Use .note.GNU-stack to explicitly indicate a non-exec stack, b/c of bad   */
 /* default behaviour when translating handwritten assembly files (needed on  */
-/* GNU/* platforms, Android and FreeBSD, as tests have shown).               */
+/* GNU platforms, Android and FreeBSD, as tests have shown).                 */
 #if (defined(DC__C_CLANG) || defined(DC__C_GNU)) && defined(__ELF__) && (defined(DC__OS_Linux) || defined(DC__OS_FreeBSD))
 .section .note.GNU-stack,"",%progbits
 #endif