From cfa5b6dbf36e5e08749fa8b0792271d02196504d Mon Sep 17 00:00:00 2001 From: Palmer Dabbelt Date: Tue, 16 May 2017 12:33:39 -0700 Subject: [PATCH] Link in encoding.h instead of providing a path to it --- debug/programs/encoding.h | 1 + debug/programs/mprv.S | 2 +- debug/programs/priv.S | 2 +- debug/programs/regs.S | 2 +- debug/programs/trigger.S | 2 +- 5 files changed, 5 insertions(+), 4 deletions(-) create mode 120000 debug/programs/encoding.h 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 -- 2.30.2