aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Newsome <tim@sifive.com>2018-09-13 15:55:17 -0700
committerTim Newsome <tim@sifive.com>2018-09-13 15:55:17 -0700
commita96f32d19d65123a5cf4e43aa25e503530f910b9 (patch)
treeabcfa52595358da31dfc50b61c24e5cb28784f3c
parent0c0d77c594305417cd8305e17950f86da14e71c4 (diff)
downloadriscv-tests-a96f32d19d65123a5cf4e43aa25e503530f910b9.zip
riscv-tests-a96f32d19d65123a5cf4e43aa25e503530f910b9.tar.gz
riscv-tests-a96f32d19d65123a5cf4e43aa25e503530f910b9.tar.bz2
Put debug test stack in data instead of text
-rwxr-xr-xdebug/programs/entry.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/debug/programs/entry.S b/debug/programs/entry.S
index 6d84718..3acd786 100755
--- a/debug/programs/entry.S
+++ b/debug/programs/entry.S
@@ -191,6 +191,7 @@ loop_forever:
j loop_forever
// Fill the stack with data so we can see if it was overrun.
+ .section .data
.align 4
stack_bottom:
.fill NHARTS * STACK_SIZE/4, 4, 0x22446688