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