summaryrefslogtreecommitdiff
path: root/target/or1k/patches
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-09-01 22:47:48 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2015-09-01 22:48:16 +0200
commitc5c6f661665450bb2a1f9e217fd5022cf7cbdfcd (patch)
treef1a8ce7031c92e157103518b83c96f64e2a87c22 /target/or1k/patches
parent77dcf4f883cd9ee840e7d431ed982fa982a60405 (diff)
or1k: add basic qemu support
Kernel boots, userland not.
Diffstat (limited to 'target/or1k/patches')
-rw-r--r--target/or1k/patches/4.1.6/ld-or1k.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/target/or1k/patches/4.1.6/ld-or1k.patch b/target/or1k/patches/4.1.6/ld-or1k.patch
new file mode 100644
index 000000000..81c9db6c2
--- /dev/null
+++ b/target/or1k/patches/4.1.6/ld-or1k.patch
@@ -0,0 +1,12 @@
+diff -Nur linux-4.1.6.orig/arch/openrisc/kernel/vmlinux.lds.S linux-4.1.6/arch/openrisc/kernel/vmlinux.lds.S
+--- linux-4.1.6.orig/arch/openrisc/kernel/vmlinux.lds.S 2015-08-17 05:52:51.000000000 +0200
++++ linux-4.1.6/arch/openrisc/kernel/vmlinux.lds.S 2015-09-01 22:02:13.224692884 +0200
+@@ -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