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)
committerStafford Horne <shorne@gmail.com>
Mon, 2 Jan 2017 01:35:11 +0000 (10:35 +0900)
commit086cc1c31a0ec075dac02425367c871bb65bc2c9
treef761141967b7e6c7f556768c017c3b155f61fddf
parent7ce7d89f48834cefece7804d38fc5d85382edf77
openrisc: Add _text symbol to fix ksym build error

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>
arch/openrisc/kernel/vmlinux.lds.S