summaryrefslogtreecommitdiff
path: root/target/linux/patches/4.6.6/ld-or1k.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/patches/4.6.6/ld-or1k.patch')
-rw-r--r--target/linux/patches/4.6.6/ld-or1k.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/target/linux/patches/4.6.6/ld-or1k.patch b/target/linux/patches/4.6.6/ld-or1k.patch
new file mode 100644
index 000000000..264f9166f
--- /dev/null
+++ b/target/linux/patches/4.6.6/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