Skip to content

Commit 2bbb0e3

Browse files
RomainNaourRich Felker
authored andcommitted
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>
1 parent bd15832 commit 2bbb0e3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎arch/sh/boot/compressed/vmlinux.scr‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
SECTIONS
22
{
3-
.rodata..compressed : {
3+
.rodata..compressed : ALIGN(8) {
44
input_len = .;
55
LONG(input_data_end - input_data) input_data = .;
66
*(.data)

0 commit comments

Comments
 (0)