aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPalmer Dabbelt <palmer@dabbelt.com>2017-05-16 12:33:39 -0700
committerPalmer Dabbelt <palmer@dabbelt.com>2017-05-16 12:48:05 -0700
commitcfa5b6dbf36e5e08749fa8b0792271d02196504d (patch)
tree918731c28b4d87bda939818d57484ce89dd25677
parent8dc1490a5a86549a89cc8276477a158da68840b5 (diff)
downloadriscv-tests-cfa5b6dbf36e5e08749fa8b0792271d02196504d.zip
riscv-tests-cfa5b6dbf36e5e08749fa8b0792271d02196504d.tar.gz
riscv-tests-cfa5b6dbf36e5e08749fa8b0792271d02196504d.tar.bz2
Link in encoding.h instead of providing a path to it
l---------debug/programs/encoding.h1
-rw-r--r--debug/programs/mprv.S2
-rw-r--r--debug/programs/priv.S2
-rw-r--r--debug/programs/regs.S2
-rw-r--r--debug/programs/trigger.S2
5 files changed, 5 insertions, 4 deletions
diff --git a/debug/programs/encoding.h b/debug/programs/encoding.h
new file mode 120000
index 0000000..56fa44a
--- /dev/null
+++ b/debug/programs/encoding.h
@@ -0,0 +1 @@
+../../env/encoding.h \ No newline at end of file
diff --git a/debug/programs/mprv.S b/debug/programs/mprv.S
index cc1ca54..a17852a 100644
--- a/debug/programs/mprv.S
+++ b/debug/programs/mprv.S
@@ -1,4 +1,4 @@
-#include "../../env/encoding.h"
+#include "encoding.h"
#define PGSHIFT 12
.global main
diff --git a/debug/programs/priv.S b/debug/programs/priv.S
index 2d20a65..75481be 100644
--- a/debug/programs/priv.S
+++ b/debug/programs/priv.S
@@ -1,4 +1,4 @@
-#include "../../env/encoding.h"
+#include "encoding.h"
.global main
diff --git a/debug/programs/regs.S b/debug/programs/regs.S
index 200184d..50dafa2 100644
--- a/debug/programs/regs.S
+++ b/debug/programs/regs.S
@@ -8,7 +8,7 @@
# define REGBYTES 4
#endif
-#include "../../env/encoding.h"
+#include "encoding.h"
.global main
main:
diff --git a/debug/programs/trigger.S b/debug/programs/trigger.S
index ac5a2f8..3d502dc 100644
--- a/debug/programs/trigger.S
+++ b/debug/programs/trigger.S
@@ -1,4 +1,4 @@
-#include "../../env/encoding.h"
+#include "encoding.h"
#if XLEN == 64
# define LREG ld