Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4
[sfrench/cifs-2.6.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         LOCK_TEXT
20         *(.fixup)
21         *(.gnu.warning)
22         } :text = 0x4e75
23         RODATA
24
25   _etext = .;                   /* End of text section */
26
27   EXCEPTION_TABLE(16) :data
28   RW_DATA_SECTION(16, PAGE_SIZE, THREAD_SIZE) :data
29   /* End of data goes *here* so that freeing init code works properly. */
30   _edata = .;
31   NOTES
32
33   /* will be freed after init */
34   . = ALIGN(PAGE_SIZE); /* Init code and data */
35 __init_begin = .;
36         INIT_TEXT_SECTION(PAGE_SIZE)
37         INIT_DATA_SECTION(16)
38         .m68k_fixup : {
39                 __start_fixup = .;
40                 *(.m68k_fixup)
41                 __stop_fixup = .;
42         }
43         . = ALIGN(PAGE_SIZE);
44         __init_end = .;
45
46   BSS_SECTION(0, 0, 0)
47
48   _end = . ;
49
50   STABS_DEBUG
51
52   /* Sections to be discarded */
53   DISCARDS
54 }