summaryrefslogtreecommitdiff
path: root/target/linux
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2020-10-31 14:57:55 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2020-10-31 14:57:55 +0100
commit391ef0ab58d7b1510a8f6b6788ee69ae1b384e08 (patch)
tree4ba029f9bf48db07eaddbb41e4edf357fcd4a239 /target/linux
parent774c79cf71f4363750d5b4dfb2e7dd16342d3064 (diff)
sh4: migrate to linux 5.4 with latest binutils
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/Config.in.kernelversion1
-rw-r--r--target/linux/patches/5.4.69/sh4.patch11
2 files changed, 12 insertions, 0 deletions
diff --git a/target/linux/Config.in.kernelversion b/target/linux/Config.in.kernelversion
index 61ff9d97f..e641696b4 100644
--- a/target/linux/Config.in.kernelversion
+++ b/target/linux/Config.in.kernelversion
@@ -28,6 +28,7 @@ default ADK_TARGET_LINUX_KERNEL_VERSION_5_4 if ADK_TARGET_ARCH_CSKY
default ADK_TARGET_LINUX_KERNEL_VERSION_5_4 if ADK_TARGET_ARCH_RISCV32
default ADK_TARGET_LINUX_KERNEL_VERSION_5_4 if ADK_TARGET_ARCH_RISCV64
default ADK_TARGET_LINUX_KERNEL_VERSION_5_4 if ADK_TARGET_ARCH_OR1K
+default ADK_TARGET_LINUX_KERNEL_VERSION_5_4 if ADK_TARGET_ARCH_SH
default ADK_TARGET_LINUX_KERNEL_VERSION_4_19
config ADK_TARGET_LINUX_KERNEL_VERSION_GIT
diff --git a/target/linux/patches/5.4.69/sh4.patch b/target/linux/patches/5.4.69/sh4.patch
new file mode 100644
index 000000000..8ae79d49d
--- /dev/null
+++ b/target/linux/patches/5.4.69/sh4.patch
@@ -0,0 +1,11 @@
+diff -Nur linux-5.4.69.orig/arch/sh/boot/compressed/vmlinux.scr linux-5.4.69/arch/sh/boot/compressed/vmlinux.scr
+--- linux-5.4.69.orig/arch/sh/boot/compressed/vmlinux.scr 2020-10-01 13:19:27.000000000 +0200
++++ linux-5.4.69/arch/sh/boot/compressed/vmlinux.scr 2020-10-31 07:13:51.213954737 +0100
+@@ -1,6 +1,6 @@
+ SECTIONS
+ {
+- .rodata..compressed : {
++ .rodata..compressed : ALIGN(8) {
+ input_len = .;
+ LONG(input_data_end - input_data) input_data = .;
+ *(.data)