aboutsummaryrefslogtreecommitdiff
path: root/include/arm_features.h
diff options
context:
space:
mode:
authortwinaphex2013-04-01 00:50:34 +0200
committertwinaphex2013-04-01 00:50:34 +0200
commit19414bd6e0f0febe9c04bc3c876f400945861a95 (patch)
tree5efe48cb46e67417b0c3e8c376f31793bae8c024 /include/arm_features.h
parentb45890371118792a9e992ec92a259f31adc85820 (diff)
parentcd2306936bb0e14363d91aeb0fb29167eb94dd2a (diff)
downloadpcsx_rearmed-19414bd6e0f0febe9c04bc3c876f400945861a95.tar.gz
pcsx_rearmed-19414bd6e0f0febe9c04bc3c876f400945861a95.tar.bz2
pcsx_rearmed-19414bd6e0f0febe9c04bc3c876f400945861a95.zip
Merge git://github.com/notaz/pcsx_rearmed
Diffstat (limited to 'include/arm_features.h')
-rw-r--r--include/arm_features.h15
1 files changed, 9 insertions, 6 deletions
diff --git a/include/arm_features.h b/include/arm_features.h
index a1adfef..abfd876 100644
--- a/include/arm_features.h
+++ b/include/arm_features.h
@@ -25,20 +25,23 @@
/* no need for HAVE_NEON - GCC defines __ARM_NEON__ consistently */
-/* global function/external variable */
+/* global function/external symbol */
#ifndef __MACH__
+#define ESYM(name) name
+
#define FUNCTION(name) \
- .global name; \
+ .globl name; \
.type name, %function; \
name
-#define EVAR(name) name
#else
+#define ESYM(name) _##name
+
#define FUNCTION(name) \
- .globl _##name; \
- _##name
+ .globl ESYM(name); \
+ name: \
+ ESYM(name)
-#define EVAR(name) _##name
#endif
#endif /* __ARM_FEATURES_H__ */