| /* SPDX-License-Identifier: GPL-2.0 */ |
| /* ld script to make m68k Linux kernel */ |
| #include <asm-generic/vmlinux.lds.h> |
| #include <asm/thread_info.h> |
| OUTPUT_FORMAT("elf32-m68k", "elf32-m68k", "elf32-m68k") |
| jiffies = jiffies_64 + 4; |
| _text = .; /* Text and read-only data */ |
| _etext = .; /* End of text section */ |
| _sdata = .; /* Start of data section */ |
| RW_DATA(16, PAGE_SIZE, THREAD_SIZE) |
| _edata = .; /* End of data section */ |
| /* will be freed after init */ |
| . = ALIGN(PAGE_SIZE); /* Init code and data */ |
| INIT_TEXT_SECTION(PAGE_SIZE) :data |
| /* This ALIGN be in a section so that _end is at the end of the |
| .comment 0 : { *(.comment) } |
| /* Sections to be discarded */ |