Commit da99f00e authored by Stafford Horne's avatar Stafford Horne

openrisc: head: Move init strings to rodata section

The strings used during the head/init phase of openrisc bootup were
stored in the executable section of the binary.

This causes compilation to fail when using CONFIG_DEBUG_INFO with
error:
 Error: unaligned opcodes detected in executable segment
Signed-off-by: default avatarStafford Horne <shorne@gmail.com>
parent e6d20c55
...@@ -1530,6 +1530,7 @@ ENTRY(_early_uart_init) ...@@ -1530,6 +1530,7 @@ ENTRY(_early_uart_init)
l.jr r9 l.jr r9
l.nop l.nop
.section .rodata
_string_copying_linux: _string_copying_linux:
.string "\n\n\n\n\n\rCopying Linux... \0" .string "\n\n\n\n\n\rCopying Linux... \0"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment