1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* ld script to make m68k Linux kernel */
4 #include <asm-generic/vmlinux.lds.h>
6 #include <asm/thread_info.h>
8 OUTPUT_FORMAT("elf32-m68k", "elf32-m68k", "elf32-m68k")
11 jiffies = jiffies_64 + 4;
15 _text = .; /* Text and read-only data */
28 _etext = .; /* End of text section */
32 _sdata = .; /* Start of data section */
36 RW_DATA(16, PAGE_SIZE, THREAD_SIZE)
40 _edata = .; /* End of data section */
42 /* will be freed after init */
43 . = ALIGN(PAGE_SIZE); /* Init code and data */
45 INIT_TEXT_SECTION(PAGE_SIZE) :data
53 /* This ALIGN be in a section so that _end is at the end of the
64 /* Sections to be discarded */