]> git.baikalelectronics.ru Git - kernel.git/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)
committerStafford Horne <shorne@gmail.com>
Mon, 2 Jan 2017 01:35:11 +0000 (10:35 +0900)
commit68f14db34094c16579ee6dcd0303deb8c7a50a29
treef761141967b7e6c7f556768c017c3b155f61fddf
parent4184c0ec1ade2b73b58c41e1084d8b22fc53d09b
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