summaryrefslogtreecommitdiff
path: root/target/linux/patches/4.9.28/ld-or1k.patch
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2017-05-19 03:41:24 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2017-05-19 03:41:24 +0200
commite29b0f2b4531f8d84040b21fa2aade94f80b6021 (patch)
tree58d955c9e234f18dbf9b95e767cd91ebde9db2c7 /target/linux/patches/4.9.28/ld-or1k.patch
parent5d158b6bfd62bdd9b1e8aaee771e0daaac36116e (diff)
linux: update 4.9.x kernel, disable avr32 for latest kernel versions
Diffstat (limited to 'target/linux/patches/4.9.28/ld-or1k.patch')
-rw-r--r--target/linux/patches/4.9.28/ld-or1k.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/target/linux/patches/4.9.28/ld-or1k.patch b/target/linux/patches/4.9.28/ld-or1k.patch
new file mode 100644
index 000000000..264f9166f
--- /dev/null
+++ b/target/linux/patches/4.9.28/ld-or1k.patch
@@ -0,0 +1,12 @@
+diff -Nur linux-4.4.5.orig/arch/openrisc/kernel/vmlinux.lds.S linux-4.4.5/arch/openrisc/kernel/vmlinux.lds.S
+--- linux-4.4.5.orig/arch/openrisc/kernel/vmlinux.lds.S 2016-03-10 00:35:58.000000000 +0100
++++ linux-4.4.5/arch/openrisc/kernel/vmlinux.lds.S 2016-03-16 09:21:07.933535532 +0100
+@@ -30,7 +30,7 @@
+ #include <asm/cache.h>
+ #include <asm-generic/vmlinux.lds.h>
+
+-OUTPUT_FORMAT("elf32-or32", "elf32-or32", "elf32-or32")
++OUTPUT_FORMAT("elf32-or1k", "elf32-or1k", "elf32-or1k")
+ jiffies = jiffies_64 + 4;
+
+ SECTIONS