]> asedeno.scripts.mit.edu Git - linux.git/commit
openrisc: head: Move init strings to rodata section
authorStafford Horne <shorne@gmail.com>
Fri, 13 Jan 2017 10:22:04 +0000 (19:22 +0900)
committerStafford Horne <shorne@gmail.com>
Fri, 24 Feb 2017 20:05:37 +0000 (05:05 +0900)
commitda99f00ece82cb51ca5ead97008658e1dc49782b
tree627e0bce5bc32ca605869a61145f14481b89322a
parente6d20c55a4d94eca419f80f996133f523ecedfe0
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>
arch/openrisc/kernel/head.S