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