diff options
author | Andrew Waterman <andrew@sifive.com> | 2016-12-06 17:04:14 -0800 |
---|---|---|
committer | Andrew Waterman <andrew@sifive.com> | 2016-12-06 17:04:14 -0800 |
commit | 56f46aa0f9688c87ce9ebd7658e19b884b018b6b (patch) | |
tree | 516d33de0c78bab0968f8548f7223160d8bba6fb /debug/programs/regs.S | |
parent | b68b39031a730ecc155ed87fba2ed5f111d0ab07 (diff) | |
download | riscv-tests-56f46aa0f9688c87ce9ebd7658e19b884b018b6b.zip riscv-tests-56f46aa0f9688c87ce9ebd7658e19b884b018b6b.tar.gz riscv-tests-56f46aa0f9688c87ce9ebd7658e19b884b018b6b.tar.bz2 |
avoid non-standard predefined macros
Diffstat (limited to 'debug/programs/regs.S')
-rw-r--r-- | debug/programs/regs.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debug/programs/regs.S b/debug/programs/regs.S index 2cacd4f..5c4f462 100644 --- a/debug/programs/regs.S +++ b/debug/programs/regs.S @@ -1,4 +1,4 @@ -#ifdef __riscv64 +#if __riscv_xlen == 64 # define LREG ld # define SREG sd # define REGBYTES 8 |