board/qemu/sh4-r2d: fix sh4 kernel bug with binutils 2.33
authorRomain Naour <romain.naour@gmail.com>
Mon, 30 Dec 2019 13:36:40 +0000 (14:36 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Wed, 24 Jun 2020 20:40:55 +0000 (22:40 +0200)
commita2331c8a61bdd71c47492efc818fb0458a349219
treeae38a7faf6408e351ad3dad5a48a9841dcd4e907
parent99fda2fa9507eeed68b79e45ae99c3d590cd0c17
board/qemu/sh4-r2d: fix sh4 kernel bug with binutils 2.33

Remove the binutils patch reverting [1] that triggers a sh4 kernel bug
with binutils >= 2.33. Instead, add two kernel patches 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>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
board/qemu/sh4-r2d/patches/linux/0001-arch-sh-vmlinux.scr.patch [new file with mode: 0644]
board/qemu/sh4-r2d/patches/linux/0002-include-asm-generic-vmlinux.lds.h.patch [new file with mode: 0644]
board/qemu/sh4eb-r2d/patches/linux/0001-arch-sh-vmlinux.scr.patch [new file with mode: 0644]
board/qemu/sh4eb-r2d/patches/linux/0002-include-asm-generic-vmlinux.lds.h.patch [new file with mode: 0644]
configs/qemu_sh4_r2d_defconfig
configs/qemu_sh4eb_r2d_defconfig
package/binutils/2.33.1/0003-Revert-PR24311-FAIL-S-records-with-constructors.patch [deleted file]