1 #include <linux/config.h>
5 #include <asm/system.h>
7 OUTPUT_FORMAT("elf64-ia64-little")
12 /* Sections to be discarded */
19 *(.IA_64.unwind.text.exit)
20 *(.IA_64.unwind_info.text.exit)
23 v = PAGE_OFFSET; /* this symbol is here to make debugging easier... */
24 phys_start = _start - PAGE_OFFSET;
30 .text : AT(ADDR(.text) - PAGE_OFFSET)
35 .text2 : AT(ADDR(.text2) - PAGE_OFFSET)
38 .text.lock : AT(ADDR(.text.lock) - PAGE_OFFSET)
50 __start___ex_table = .;
51 __ex_table : AT(ADDR(__ex_table) - PAGE_OFFSET)
53 __stop___ex_table = .;
55 #if defined(CONFIG_IA64_GENERIC)
59 .machvec : AT(ADDR(.machvec) - PAGE_OFFSET)
64 __start___ksymtab = .; /* Kernel symbol table */
65 __ksymtab : AT(ADDR(__ksymtab) - PAGE_OFFSET)
69 __start___kallsyms = .; /* All kernel symbols for debugging */
70 __kallsyms : AT(ADDR(__kallsyms) - PAGE_OFFSET)
72 __stop___kallsyms = .;
74 /* Unwind info & table: */
76 .IA_64.unwind_info : AT(ADDR(.IA_64.unwind_info) - PAGE_OFFSET)
77 { *(.IA_64.unwind_info*) }
79 .IA_64.unwind : AT(ADDR(.IA_64.unwind) - PAGE_OFFSET)
83 .rodata : AT(ADDR(.rodata) - PAGE_OFFSET)
84 { *(.rodata) *(.rodata.*) }
85 .kstrtab : AT(ADDR(.kstrtab) - PAGE_OFFSET)
87 .opd : AT(ADDR(.opd) - PAGE_OFFSET)
90 /* Initialization code and data: */
94 .text.init : AT(ADDR(.text.init) - PAGE_OFFSET)
97 .data.init : AT(ADDR(.data.init) - PAGE_OFFSET)
101 .setup.init : AT(ADDR(.setup.init) - PAGE_OFFSET)
104 __initcall_start = .;
105 .initcall.init : AT(ADDR(.initcall.init) - PAGE_OFFSET)
106 { *(.initcall.init) }
108 . = ALIGN(PAGE_SIZE);
111 /* The initial task and kernel stack */
112 init_task : AT(ADDR(init_task) - PAGE_OFFSET)
115 .data.page_aligned : AT(ADDR(.data.page_aligned) - PAGE_OFFSET)
116 { *(__special_page_section)
117 __start_gate_section = .;
119 __stop_gate_section = .;
122 . = ALIGN(SMP_CACHE_BYTES);
123 .data.cacheline_aligned : AT(ADDR(.data.cacheline_aligned) - PAGE_OFFSET)
124 { *(.data.cacheline_aligned) }
126 /* Kernel symbol names for modules: */
127 .kstrtab : AT(ADDR(.kstrtab) - PAGE_OFFSET)
130 .data : AT(ADDR(.data) - PAGE_OFFSET)
131 { *(.data) *(.gnu.linkonce.d*) CONSTRUCTORS }
135 __gp = . + 0x200000; /* gp must be 16-byte aligned for exc. table */
137 .got : AT(ADDR(.got) - PAGE_OFFSET)
138 { *(.got.plt) *(.got) }
139 /* We want the small data sections together, so single-instruction offsets
140 can access them all, and initialized data all before uninitialized, so
141 we can shorten the on-disk segment size. */
142 .sdata : AT(ADDR(.sdata) - PAGE_OFFSET)
146 .sbss : AT(ADDR(.sbss) - PAGE_OFFSET)
147 { *(.sbss) *(.scommon) }
148 .bss : AT(ADDR(.bss) - PAGE_OFFSET)
149 { *(.bss) *(COMMON) }
153 /* Stabs debugging sections. */
154 .stab 0 : { *(.stab) }
155 .stabstr 0 : { *(.stabstr) }
156 .stab.excl 0 : { *(.stab.excl) }
157 .stab.exclstr 0 : { *(.stab.exclstr) }
158 .stab.index 0 : { *(.stab.index) }
159 .stab.indexstr 0 : { *(.stab.indexstr) }
160 /* DWARF debug sections.
161 Symbols in the DWARF debugging sections are relative to the beginning
162 of the section so we begin them at 0. */
164 .debug 0 : { *(.debug) }
165 .line 0 : { *(.line) }
166 /* GNU DWARF 1 extensions */
167 .debug_srcinfo 0 : { *(.debug_srcinfo) }
168 .debug_sfnames 0 : { *(.debug_sfnames) }
169 /* DWARF 1.1 and DWARF 2 */
170 .debug_aranges 0 : { *(.debug_aranges) }
171 .debug_pubnames 0 : { *(.debug_pubnames) }
173 .debug_info 0 : { *(.debug_info) }
174 .debug_abbrev 0 : { *(.debug_abbrev) }
175 .debug_line 0 : { *(.debug_line) }
176 .debug_frame 0 : { *(.debug_frame) }
177 .debug_str 0 : { *(.debug_str) }
178 .debug_loc 0 : { *(.debug_loc) }
179 .debug_macinfo 0 : { *(.debug_macinfo) }
180 /* SGI/MIPS DWARF 2 extensions */
181 .debug_weaknames 0 : { *(.debug_weaknames) }
182 .debug_funcnames 0 : { *(.debug_funcnames) }
183 .debug_typenames 0 : { *(.debug_typenames) }
184 .debug_varnames 0 : { *(.debug_varnames) }
185 /* These must appear regardless of . */
186 /* Discard them for now since Intel SoftSDV cannot handle them.
187 .comment 0 : { *(.comment) }
188 .note 0 : { *(.note) }
190 /DISCARD/ : { *(.comment) }
191 /DISCARD/ : { *(.note) }