mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-13 16:50:05 +00:00
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: Stafford Horne <shorne@gmail.com>
This commit is contained in:
parent
e6d20c55a4
commit
da99f00ece
@ -1530,6 +1530,7 @@ ENTRY(_early_uart_init)
|
||||
l.jr r9
|
||||
l.nop
|
||||
|
||||
.section .rodata
|
||||
_string_copying_linux:
|
||||
.string "\n\n\n\n\n\rCopying Linux... \0"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user