Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm
[linux-2.6-block.git] / arch / m68k / kernel / vmlinux-sun3.lds
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
1da177e4
LT
2/* ld script to make m68k Linux kernel */
3
4#include <asm-generic/vmlinux.lds.h>
97d26e73 5#include <asm/page.h>
7c5fd561 6#include <asm/thread_info.h>
1da177e4
LT
7
8OUTPUT_FORMAT("elf32-m68k", "elf32-m68k", "elf32-m68k")
9OUTPUT_ARCH(m68k)
10ENTRY(_start)
11jiffies = jiffies_64 + 4;
12SECTIONS
13{
a3a79bd7 14 . = 0xE002000;
1da177e4
LT
15 _text = .; /* Text and read-only data */
16 .text : {
6f335cab 17 HEAD_TEXT
7664709b 18 TEXT_TEXT
969de098
GU
19 IRQENTRY_TEXT
20 SOFTIRQENTRY_TEXT
1da177e4 21 SCHED_TEXT
198a4101 22 LOCK_TEXT
1da177e4
LT
23 *(.fixup)
24 *(.gnu.warning)
25 } :text = 0x4e75
de715668 26 RO_DATA(4096)
1da177e4
LT
27
28 _etext = .; /* End of text section */
29
7c5fd561 30 EXCEPTION_TABLE(16) :data
a2d063ac 31 _sdata = .; /* Start of rw data section */
c9174047 32 RW_DATA(16, PAGE_SIZE, THREAD_SIZE) :data
1da177e4
LT
33 /* End of data goes *here* so that freeing init code works properly. */
34 _edata = .;
35
36 /* will be freed after init */
97d26e73 37 . = ALIGN(PAGE_SIZE); /* Init code and data */
1da177e4 38__init_begin = .;
7c5fd561
TA
39 INIT_TEXT_SECTION(PAGE_SIZE)
40 INIT_DATA_SECTION(16)
fbe9c961
RZ
41 .m68k_fixup : {
42 __start_fixup = .;
43 *(.m68k_fixup)
44 __stop_fixup = .;
45 }
97d26e73 46 . = ALIGN(PAGE_SIZE);
1da177e4 47 __init_end = .;
1da177e4 48
7c5fd561 49 BSS_SECTION(0, 0, 0)
1da177e4
LT
50
51 _end = . ;
52
7c5fd561 53 STABS_DEBUG
428ec5f9 54 ELF_DETAILS
1da177e4 55
023bf6f1
TH
56 /* Sections to be discarded */
57 DISCARDS
1da177e4 58}