Put debug test stack in data instead of text
authorTim Newsome <tim@sifive.com>
Thu, 13 Sep 2018 22:55:17 +0000 (15:55 -0700)
committerTim Newsome <tim@sifive.com>
Thu, 13 Sep 2018 22:55:17 +0000 (15:55 -0700)
debug/programs/entry.S

index 6d84718f0388769e9f7140b733638d7a253ead48..3acd786cc226d367ddc109cb03a53e11f2601b45 100755 (executable)
@@ -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