summaryrefslogtreecommitdiff
path: root/src/mesa/x86/assyntax.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/x86/assyntax.h')
-rw-r--r--src/mesa/x86/assyntax.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mesa/x86/assyntax.h b/src/mesa/x86/assyntax.h
index 16aaf900f7..f2192cc220 100644
--- a/src/mesa/x86/assyntax.h
+++ b/src/mesa/x86/assyntax.h
@@ -1730,4 +1730,11 @@ SECTION _DATA public align=16 class=DATA use32 flat
#define TLBL(a) CONCAT(a,$)
#endif
+/* hidden symbol visibility support */
+#ifdef GNU_ASSEMBLER
+#define HIDDEN(a) .hidden a
+#else
+#define HIDDEN(a)
+#endif
+
#endif /* __ASSYNTAX_H__ */