41 lines
2.0 KiB
Diff
41 lines
2.0 KiB
Diff
diff -Naur libatomic_ops-7.6.2-orig/src/atomic_ops/sysdeps/gcc/riscv.h libatomic_ops-7.6.2/src/atomic_ops/sysdeps/gcc/riscv.h
|
|
--- libatomic_ops-7.6.2-orig/src/atomic_ops/sysdeps/gcc/riscv.h 1969-12-31 19:00:00.000000000 -0500
|
|
+++ libatomic_ops-7.6.2/src/atomic_ops/sysdeps/gcc/riscv.h 2018-02-18 00:48:53.581721375 -0500
|
|
@@ -0,0 +1 @@
|
|
+#include "generic.h"
|
|
diff -Naur libatomic_ops-7.6.2-orig/src/atomic_ops.h libatomic_ops-7.6.2/src/atomic_ops.h
|
|
--- libatomic_ops-7.6.2-orig/src/atomic_ops.h 2017-12-24 03:31:12.000000000 -0500
|
|
+++ libatomic_ops-7.6.2/src/atomic_ops.h 2018-02-18 00:48:53.580721359 -0500
|
|
@@ -352,6 +352,9 @@
|
|
# if defined(__tile__)
|
|
# include "atomic_ops/sysdeps/gcc/tile.h"
|
|
# endif
|
|
+# if defined(__riscv)
|
|
+# include "atomic_ops/sysdeps/gcc/riscv.h"
|
|
+# endif
|
|
#endif /* __GNUC__ && !AO_USE_PTHREAD_DEFS */
|
|
|
|
#if (defined(__IBMC__) || defined(__IBMCPP__)) && !defined(__GNUC__) \
|
|
diff -Naur libatomic_ops-7.6.2-orig/src/Makefile.am libatomic_ops-7.6.2/src/Makefile.am
|
|
--- libatomic_ops-7.6.2-orig/src/Makefile.am 2017-12-24 03:31:12.000000000 -0500
|
|
+++ libatomic_ops-7.6.2/src/Makefile.am 2018-02-18 00:48:53.579721342 -0500
|
|
@@ -92,6 +92,7 @@
|
|
atomic_ops/sysdeps/gcc/mips.h \
|
|
atomic_ops/sysdeps/gcc/nios2.h \
|
|
atomic_ops/sysdeps/gcc/powerpc.h \
|
|
+ atomic_ops/sysdeps/gcc/riscv.h \
|
|
atomic_ops/sysdeps/gcc/s390.h \
|
|
atomic_ops/sysdeps/gcc/sh.h \
|
|
atomic_ops/sysdeps/gcc/sparc.h \
|
|
diff -Naur libatomic_ops-7.6.2-orig/src/Makefile.in libatomic_ops-7.6.2/src/Makefile.in
|
|
--- libatomic_ops-7.6.2-orig/src/Makefile.in 2017-12-24 03:32:23.000000000 -0500
|
|
+++ libatomic_ops-7.6.2/src/Makefile.in 2018-02-18 00:49:14.005062121 -0500
|
|
@@ -446,6 +446,7 @@
|
|
atomic_ops/sysdeps/gcc/mips.h \
|
|
atomic_ops/sysdeps/gcc/nios2.h \
|
|
atomic_ops/sysdeps/gcc/powerpc.h \
|
|
+ atomic_ops/sysdeps/gcc/riscv.h \
|
|
atomic_ops/sysdeps/gcc/s390.h \
|
|
atomic_ops/sysdeps/gcc/sh.h \
|
|
atomic_ops/sysdeps/gcc/sparc.h \
|