summaryrefslogtreecommitdiff
path: root/libitm/clearcap.map
diff options
context:
space:
mode:
Diffstat (limited to 'libitm/clearcap.map')
-rw-r--r--libitm/clearcap.map14
1 files changed, 14 insertions, 0 deletions
diff --git a/libitm/clearcap.map b/libitm/clearcap.map
new file mode 100644
index 00000000000..bd8189b43ff
--- /dev/null
+++ b/libitm/clearcap.map
@@ -0,0 +1,14 @@
+# Clear hardware capabilities emitted by Sun as: calls to the x86_avx.c
+# functions are only emitted with -mavx.
+#
+# The v1 mapfile syntax has no support for clearing specific capabilities,
+# so clear everything.
+#
+hwcap_1 = V0x0 OVERRIDE;
+#
+# If we can assume mapfile v2 syntax, we can specificially clear AVX.
+#
+#$mapfile_version 2
+#CAPABILITY {
+# HW -= AVX;
+#};