1 /* ld script to make M32R Linux kernel
4 #include <asm-generic/vmlinux.lds.h>
5 #include <asm/addrspace.h>
10 #if defined(__LITTLE_ENDIAN__)
13 jiffies = jiffies_64 + 4;
17 . = CONFIG_MEMORY_START + __PAGE_OFFSET;
21 .empty_zero_page : { *(.empty_zero_page) } = 0
24 _text = .; /* Text and read-only data */
25 .boot : { *(.boot) } = 0
35 .eit_vector4 : { *(.eit_vector4) }
37 _etext = .; /* End of text section */
39 . = ALIGN(16); /* Exception table */
40 __start___ex_table = .;
41 __ex_table : { *(__ex_table) }
42 __stop___ex_table = .;
56 .data_nosave : { *(.data.nosave) }
61 .data.page_aligned : { *(.data.idt) }
64 .data.cacheline_aligned : { *(.data.cacheline_aligned) }
66 _edata = .; /* End of data section */
68 . = ALIGN(8192); /* init_task */
69 .data.init_task : { *(.data.init_task) }
71 /* will be freed after init */
72 . = ALIGN(4096); /* Init code and data */
79 .init.data : { *(.init.data) }
82 .init.setup : { *(.init.setup) }
95 __con_initcall_start = .;
96 .con_initcall.init : { *(.con_initcall.init) }
97 __con_initcall_end = .;
100 __alt_instructions = .;
101 .altinstructions : { *(.altinstructions) }
102 __alt_instructions_end = .;
103 .altinstr_replacement : { *(.altinstr_replacement) }
104 /* .exit.text is discard at runtime, not link time, to deal with references
105 from .altinstructions and .eh_frame */
106 .exit.text : { *(.exit.text) }
107 .exit.data : { *(.exit.data) }
109 __initramfs_start = .;
110 .init.ramfs : { *(.init.ramfs) }
114 .data.percpu : { *(.data.percpu) }
118 /* freed after init ends here */
120 __bss_start = .; /* BSS */
127 /* Sections to be discarded */
134 /* Stabs debugging sections. */
135 .stab 0 : { *(.stab) }
136 .stabstr 0 : { *(.stabstr) }
137 .stab.excl 0 : { *(.stab.excl) }
138 .stab.exclstr 0 : { *(.stab.exclstr) }
139 .stab.index 0 : { *(.stab.index) }
140 .stab.indexstr 0 : { *(.stab.indexstr) }
141 .comment 0 : { *(.comment) }