aboutsummaryrefslogtreecommitdiff
path: root/debug/programs
diff options
context:
space:
mode:
authorTim Newsome <tim@sifive.com>2016-12-07 20:03:36 -0800
committerTim Newsome <tim@sifive.com>2016-12-07 20:03:36 -0800
commit6427012c6de3daf4a108cbda17d4ceb6a79a9d91 (patch)
treef2dc501d908d0deef3e8fd5c8cf89eb579c89285 /debug/programs
parent0949ce92a07ee76ad15907b0021addd8a9b053e5 (diff)
downloadriscv-tests-6427012c6de3daf4a108cbda17d4ceb6a79a9d91.zip
riscv-tests-6427012c6de3daf4a108cbda17d4ceb6a79a9d91.tar.gz
riscv-tests-6427012c6de3daf4a108cbda17d4ceb6a79a9d91.tar.bz2
Use our own XLEN macro.
Relying on something that the compiler automatically sets is apparently not reliable.
Diffstat (limited to 'debug/programs')
-rw-r--r--debug/programs/regs.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/debug/programs/regs.S b/debug/programs/regs.S
index 5c4f462..200184d 100644
--- a/debug/programs/regs.S
+++ b/debug/programs/regs.S
@@ -1,4 +1,4 @@
-#if __riscv_xlen == 64
+#if XLEN == 64
# define LREG ld
# define SREG sd
# define REGBYTES 8