RT-AC56 3.0.0.4.374.37 core
[tomato.git] / release / src-rt-6.x.4708 / linux / linux-2.6.36 / arch / m68k / kernel / vmlinux-sun3.lds
blob1ad6b7ad2c173f36b66f457abb0c19e37deda001
1 /* ld script to make m68k Linux kernel */
3 #include <asm-generic/vmlinux.lds.h>
4 #include <asm/page.h>
5 #include <asm/thread_info.h>
7 OUTPUT_FORMAT("elf32-m68k", "elf32-m68k", "elf32-m68k")
8 OUTPUT_ARCH(m68k)
9 ENTRY(_start)
10 jiffies = jiffies_64 + 4;
11 SECTIONS
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
25   _etext = .;                   /* End of text section */
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
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 = .;
46   BSS_SECTION(0, 0, 0)
48   _end = . ;
50   STABS_DEBUG
52   /* Sections to be discarded */
53   DISCARDS