Patch "openrisc: Add _text symbol to fix ksym build error" has been added to the 4.4-stable tree
Subsystems (2)
This is a note to let you know that I've just added the patch titled
openrisc: Add _text symbol to fix ksym build error
to the 4.4-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
openrisc-add-_text-symbol-to-fix-ksym-build-error.patch
and it can be found in the queue-4.4 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From foo@baz Fri Aug 4 15:15:51 PDT 2017
From: Stafford Horne <[email protected]>
Date: Wed, 14 Dec 2016 21:27:57 +0900
Subject: openrisc: Add _text symbol to fix ksym build error
From: Stafford Horne <[email protected]>
[ Upstream commit 086cc1c31a0ec075dac02425367c871bb65bc2c9 ]
The build robot reports:
.tmp_kallsyms1.o: In function `kallsyms_relative_base':
Quoted 1 line
Quoted 1 line
(.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.
--- arch/openrisc/kernel/vmlinux.lds.S | 2 ++ 1 file changed, 2 insertions(+)
arch/openrisc/kernel/vmlinux.lds.S +2 -0
@@ -38,6 +38,8 @@ SECTIONS /* Read-only sections, merged into text segment: */ . = LOAD_BASE ; + _text = .; + /* _s_kernel_ro must be page aligned */ . = ALIGN(PAGE_SIZE); _s_kernel_ro = .;
Patches currently in stable-queue which might be from [email protected] are
queue-4.4/openrisc-add-_text-symbol-to-fix-ksym-build-error.patch