summaryrefslogtreecommitdiffstats
path: root/arch/sh
diff options
context:
space:
mode:
authorRomain Naour <romain.naour@gmail.com>2020-03-15 18:51:07 +0100
committerRich Felker <dalias@libc.org>2020-06-01 14:48:48 -0400
commit2bbb0e3cc8d4cd51fce9b306e207dba668d39c5f (patch)
tree02f2b55d7b44c4f86a07259af04032d6e0a58d09 /arch/sh
parentbd158322ba5f6190403e6aeb53c1e7b659f9ade8 (diff)
downloadlinux-2bbb0e3cc8d4cd51fce9b306e207dba668d39c5f.tar.bz2
arch/sh: vmlinux.scr
Since the patch [1], building the kernel using a toolchain built with Binutils 2.33.1 prevent booting a sh4 system under Qemu. Apply the patch provided by Alan Modra [2] that fix alignment of rodata. [1] https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=ebd2263ba9a9124d93bbc0ece63d7e0fae89b40e [2] https://www.sourceware.org/ml/binutils/2019-12/msg00112.html Signed-off-by: Romain Naour <romain.naour@gmail.com> Cc: Alan Modra <amodra@gmail.com> Signed-off-by: Rich Felker <dalias@libc.org>
Diffstat (limited to 'arch/sh')
-rw-r--r--arch/sh/boot/compressed/vmlinux.scr2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/boot/compressed/vmlinux.scr b/arch/sh/boot/compressed/vmlinux.scr
index 862d74808236..dd292b4b9082 100644
--- a/arch/sh/boot/compressed/vmlinux.scr
+++ b/arch/sh/boot/compressed/vmlinux.scr
@@ -1,6 +1,6 @@
SECTIONS
{
- .rodata..compressed : {
+ .rodata..compressed : ALIGN(8) {
input_len = .;
LONG(input_data_end - input_data) input_data = .;
*(.data)