]> git.baikalelectronics.ru Git - kernel.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)
commit8f273087dabdb15df3def6651c308a8b9b3c8d06
tree627e0bce5bc32ca605869a61145f14481b89322a
parent556b7454e5757114ea566021b48557c5080c4371
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