]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blob - arch/m68k/kernel/vmlinux-sun3.lds
nmi_backtrace: generate one-line reports for idle cpus
[mirror_ubuntu-artful-kernel.git] / arch / m68k / kernel / vmlinux-sun3.lds
1 /* ld script to make m68k Linux kernel */
2
3 #include <asm-generic/vmlinux.lds.h>
4 #include <asm/page.h>
5 #include <asm/thread_info.h>
6
7 OUTPUT_FORMAT("elf32-m68k", "elf32-m68k", "elf32-m68k")
8 OUTPUT_ARCH(m68k)
9 ENTRY(_start)
10 jiffies = jiffies_64 + 4;
11 SECTIONS
12 {
13 . = 0xE002000;
14 _text = .; /* Text and read-only data */
15 .text : {
16 HEAD_TEXT
17 TEXT_TEXT
18 SCHED_TEXT
19 CPUIDLE_TEXT
20 LOCK_TEXT
21 *(.fixup)
22 *(.gnu.warning)
23 } :text = 0x4e75
24 RODATA
25
26 _etext = .; /* End of text section */
27
28 EXCEPTION_TABLE(16) :data
29 _sdata = .; /* Start of rw data section */
30 RW_DATA_SECTION(16, PAGE_SIZE, THREAD_SIZE) :data
31 /* End of data goes *here* so that freeing init code works properly. */
32 _edata = .;
33 NOTES
34
35 /* will be freed after init */
36 . = ALIGN(PAGE_SIZE); /* Init code and data */
37 __init_begin = .;
38 INIT_TEXT_SECTION(PAGE_SIZE)
39 INIT_DATA_SECTION(16)
40 .m68k_fixup : {
41 __start_fixup = .;
42 *(.m68k_fixup)
43 __stop_fixup = .;
44 }
45 . = ALIGN(PAGE_SIZE);
46 __init_end = .;
47
48 BSS_SECTION(0, 0, 0)
49
50 _end = . ;
51
52 STABS_DEBUG
53
54 /* Sections to be discarded */
55 DISCARDS
56 }