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 */
29 _etext = .; /* End of text section */
31 EXCEPTION_TABLE(16) :data
32 _sdata = .; /* Start of rw data section */
33 RW_DATA(16, PAGE_SIZE, THREAD_SIZE) :data
34 /* End of data goes *here* so that freeing init code works properly. */
37 /* will be freed after init */
38 . = ALIGN(PAGE_SIZE); /* Init code and data */
40 INIT_TEXT_SECTION(PAGE_SIZE)
57 /* Sections to be discarded */