implemented Setup.hs to build boehm cpp libs and install them;
[hs-boehmgc.git] / gc-7.2 / libatomic_ops / src / atomic_ops_sysdeps.S
diff --git a/gc-7.2/libatomic_ops/src/atomic_ops_sysdeps.S b/gc-7.2/libatomic_ops/src/atomic_ops_sysdeps.S
new file mode 100644 (file)
index 0000000..f586f23
--- /dev/null
@@ -0,0 +1,9 @@
+/*
+ * Include the appropriate system-dependent assembly file, if any.
+ * This is used only if the platform supports neither inline assembly
+ * code, nor appropriate compiler intrinsics.
+ */
+
+#if !defined(__GNUC__) && (defined(sparc) || defined(__sparc))
+#  include "atomic_ops/sysdeps/sunc/sparc.S"
+#endif