1 #include <linux/config.h>
2 #include <asm-generic/vmlinux.lds.h>
4 OUTPUT_FORMAT("elf64-alpha")
7 PHDRS { kernel PT_LOAD ; }
11 #ifdef CONFIG_ALPHA_LEGACY_START_ADDRESS
12 . = 0xfffffc0000310000;
14 . = 0xfffffc0001010000;
17 _text = .; /* Text and read-only data */
24 _etext = .; /* End of text section */
27 __start___ex_table = .; /* Exception table */
28 __ex_table : { *(__ex_table) }
29 __stop___ex_table = .;
33 /* Will be freed after init */
34 . = ALIGN(8192); /* Init code and data */
41 .init.data : { *(.init.data) }
45 .init.setup : { *(.init.setup) }
50 __param : { *(__param) }
67 __initramfs_start = .;
68 .init.ramfs : { *(.init.ramfs) }
72 .con_initcall.init : {
73 __con_initcall_start = .;
75 __con_initcall_end = .;
83 .data.percpu : { *(.data.percpu) }
88 /* Freed after init ends here */
90 /* Note 2 page alignment above. */
91 .data.init_thread : { *(.data.init_thread) }
94 .data.page_aligned : { *(.data.page_aligned) }
97 .data.cacheline_aligned : { *(.data.cacheline_aligned) }
106 .sdata : { *(.sdata) }
108 _edata = .; /* End of data section */
111 .sbss : { *(.sbss) *(.scommon) }
112 .bss : { *(.bss) *(COMMON) }
117 /* Sections to be discarded */
118 /DISCARD/ : { *(.exit.text) *(.exit.data) *(.exitcall.exit) }
120 .mdebug 0 : { *(.mdebug) }
121 .note 0 : { *(.note) }
122 .comment 0 : { *(.comment) }
124 /* Stabs debugging sections */
125 .stab 0 : { *(.stab) }
126 .stabstr 0 : { *(.stabstr) }
127 .stab.excl 0 : { *(.stab.excl) }
128 .stab.exclstr 0 : { *(.stab.exclstr) }
129 .stab.index 0 : { *(.stab.index) }
130 .stab.indexstr 0 : { *(.stab.indexstr) }
132 .debug 0 : { *(.debug) }
133 .line 0 : { *(.line) }
134 /* GNU DWARF 1 extensions */
135 .debug_srcinfo 0 : { *(.debug_srcinfo) }
136 .debug_sfnames 0 : { *(.debug_sfnames) }
137 /* DWARF 1.1 and DWARF 2 */
138 .debug_aranges 0 : { *(.debug_aranges) }
139 .debug_pubnames 0 : { *(.debug_pubnames) }
141 .debug_info 0 : { *(.debug_info) }
142 .debug_abbrev 0 : { *(.debug_abbrev) }
143 .debug_line 0 : { *(.debug_line) }
144 .debug_frame 0 : { *(.debug_frame) }
145 .debug_str 0 : { *(.debug_str) }
146 .debug_loc 0 : { *(.debug_loc) }
147 .debug_macinfo 0 : { *(.debug_macinfo) }
148 /* SGI/MIPS DWARF 2 extensions */
149 .debug_weaknames 0 : { *(.debug_weaknames) }
150 .debug_funcnames 0 : { *(.debug_funcnames) }
151 .debug_typenames 0 : { *(.debug_typenames) }
152 .debug_varnames 0 : { *(.debug_varnames) }