]> 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)
commita75ad01edf6d0b1451e6cebc808b13b002f4d0e9
tree627e0bce5bc32ca605869a61145f14481b89322a
parent0b294a240c754ae48f465db31a031eb69ef08e3a
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