using .align in the .text segment cause incorrect behaviour.
Brought to you by:
jameslarus
using .align in the .text segment cause incorrect behaviour.
.text
.align 2
code: .space 1024
will cause code to be created in the .data segment, not the .text segment.
.text
code: .space 1024
correctly creates code in the .text segment.
additionaly, if .align is not the first thing in the text segment spim will segfault.
Anonymous
I will provide sample code to reproduce once I am not on a phone.
In this code:
text_data:is placed in the.textsegment while.align_text_data:is placed in the.datasegment.Yes, this is a real bug. I've fixed it.