summaryrefslogtreecommitdiffstats
path: root/arch/m68k/kernel/vmlinux.lds.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/m68k/kernel/vmlinux.lds.S')
-rw-r--r--arch/m68k/kernel/vmlinux.lds.S15
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/m68k/kernel/vmlinux.lds.S b/arch/m68k/kernel/vmlinux.lds.S
new file mode 100644
index 0000000000..d3d3c305eb
--- /dev/null
+++ b/arch/m68k/kernel/vmlinux.lds.S
@@ -0,0 +1,15 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#if defined(CONFIG_MMU) && !defined(CONFIG_COLDFIRE)
+PHDRS
+{
+ text PT_LOAD FILEHDR PHDRS FLAGS (7);
+ data PT_LOAD FLAGS (7);
+}
+#ifdef CONFIG_SUN3
+#include "vmlinux-sun3.lds"
+#else
+#include "vmlinux-std.lds"
+#endif
+#else
+#include "vmlinux-nommu.lds"
+#endif