openrisc: Add _text symbol to fix ksym build error
authorStafford Horne <shorne@gmail.com>
Wed, 14 Dec 2016 12:27:57 +0000 (21:27 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 7 Aug 2017 01:59:46 +0000 (18:59 -0700)
commit88a86f8dfaad6b7185ad1658a8283f12dc4a351b
tree73e7dba7f02c6228c300d4522dec625fcf6d380d
parent033d5ce4ad8d7b56bd562ff1107ac5780fb85eb7
openrisc: Add _text symbol to fix ksym build error

[ Upstream commit 086cc1c31a0ec075dac02425367c871bb65bc2c9 ]

The build robot reports:

   .tmp_kallsyms1.o: In function `kallsyms_relative_base':
>> (.rodata+0x8a18): undefined reference to `_text'

This is when using 'make alldefconfig'. Adding this _text symbol to mark
the start of the kernel as in other architecture fixes this.

Signed-off-by: Stafford Horne <shorne@gmail.com>
Acked-by: Jonas Bonn <jonas@southpole.se>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/openrisc/kernel/vmlinux.lds.S