diff options
Diffstat (limited to 'board/qemu/or1k/patches/linux/0002-kallsyms.patch')
-rw-r--r-- | board/qemu/or1k/patches/linux/0002-kallsyms.patch | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/board/qemu/or1k/patches/linux/0002-kallsyms.patch b/board/qemu/or1k/patches/linux/0002-kallsyms.patch deleted file mode 100644 index e788a7a9b4..0000000000 --- a/board/qemu/or1k/patches/linux/0002-kallsyms.patch +++ /dev/null @@ -1,25 +0,0 @@ -From: https://lkml.org/lkml/2016/12/31/13 - -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> -Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> - -diff -Nur linux-4.9.orig/arch/openrisc/kernel/vmlinux.lds.S linux-4.9/arch/openrisc/kernel/vmlinux.lds.S ---- linux-4.9.orig/arch/openrisc/kernel/vmlinux.lds.S 2016-12-11 20:17:54.000000000 +0100 -+++ linux-4.9/arch/openrisc/kernel/vmlinux.lds.S 2017-01-01 12:13:43.039107518 +0100 -@@ -38,6 +38,8 @@ - /* Read-only sections, merged into text segment: */ - . = LOAD_BASE ; - -+ _text = .; -+ - /* _s_kernel_ro must be page aligned */ - . = ALIGN(PAGE_SIZE); - _s_kernel_ro = .; |