]> git.hungrycats.org Git - linux/commit
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 02:19:45 +0000 (19:19 -0700)
commit65dab1d8af6c8b33d560cc56cb0f218d9be7c8ff
treea6662601189bd41561bedda92605c26354e9da47
parent4c1ea6a51acdd9090effa9086df1b86354298cef
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