aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2017-01-02 09:00:59 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2017-01-02 09:00:59 -0800
commit71a332e5603e000b907e66d172eae0e7a8c2c653 (patch)
tree79b5080144229e774edf0ea49464fc136e8872da
parentLinux 4.10-rc2 (diff)
parentopenrisc: Add _text symbol to fix ksym build error (diff)
downloadwireguard-linux-71a332e5603e000b907e66d172eae0e7a8c2c653.tar.xz
wireguard-linux-71a332e5603e000b907e66d172eae0e7a8c2c653.zip
Merge tag 'openrisc-for-linus' of git://github.com/openrisc/linux
Pull Openrisc fix from Stafford Horne: "There was nothing much interesting here except a build fix pointed out by the test robots. Highlight: - Defined _text symbol to fix build error" * tag 'openrisc-for-linus' of git://github.com/openrisc/linux: openrisc: Add _text symbol to fix ksym build error
Diffstat (limited to '')
-rw-r--r--arch/openrisc/kernel/vmlinux.lds.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/openrisc/kernel/vmlinux.lds.S b/arch/openrisc/kernel/vmlinux.lds.S
index ef31fc24344e..552544616b9d 100644
--- a/arch/openrisc/kernel/vmlinux.lds.S
+++ b/arch/openrisc/kernel/vmlinux.lds.S
@@ -44,6 +44,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 = .;