1#include <asm-generic/vmlinux.lds.h> 2 3OUTPUT_FORMAT("elf64-alpha") 4OUTPUT_ARCH(alpha) 5ENTRY(__start) 6PHDRS { kernel PT_LOAD ; } 7jiffies = jiffies_64; 8SECTIONS 9{ 10#ifdef CONFIG_ALPHA_LEGACY_START_ADDRESS 11 . = 0xfffffc0000310000; 12#else 13 . = 0xfffffc0001010000; 14#endif 15 16 _text = .; /* Text and read-only data */ 17 .text : { 18 *(.text) 19 SCHED_TEXT 20 LOCK_TEXT 21 *(.fixup) 22 *(.gnu.warning) 23 } :kernel 24 _etext = .; /* End of text section */ 25 26 . = ALIGN(16); 27 __start___ex_table = .; /* Exception table */ 28 __ex_table : { *(__ex_table) } 29 __stop___ex_table = .; 30 31 RODATA 32 33 /* Will be freed after init */ 34 . = ALIGN(8192); /* Init code and data */ 35 __init_begin = .; 36 .init.text : { 37 _sinittext = .; 38 *(.init.text) 39 _einittext = .; 40 } 41 .init.data : { *(.init.data) } 42 43 . = ALIGN(16); 44 __setup_start = .; 45 .init.setup : { *(.init.setup) } 46 __setup_end = .; 47 48 . = ALIGN(8); 49 __initcall_start = .; 50 .initcall.init : { 51 INITCALLS 52 } 53 __initcall_end = .; 54 55 . = ALIGN(8192); 56 __initramfs_start = .; 57 .init.ramfs : { *(.init.ramfs) } 58 __initramfs_end = .; 59 60 . = ALIGN(8); 61 .con_initcall.init : { 62 __con_initcall_start = .; 63 *(.con_initcall.init) 64 __con_initcall_end = .; 65 } 66 67 . = ALIGN(8); 68 SECURITY_INIT 69 70 . = ALIGN(64); 71 __per_cpu_start = .; 72 .data.percpu : { *(.data.percpu) } 73 __per_cpu_end = .; 74 75 . = ALIGN(2*8192); 76 __init_end = .; 77 /* Freed after init ends here */ 78 79 /* Note 2 page alignment above. */ 80 .data.init_thread : { *(.data.init_thread) } 81 82 . = ALIGN(8192); 83 .data.page_aligned : { *(.data.page_aligned) } 84 85 . = ALIGN(64); 86 .data.cacheline_aligned : { *(.data.cacheline_aligned) } 87 88 _data = .; 89 .data : { /* Data */ 90 *(.data) 91 CONSTRUCTORS 92 } 93 94 .got : { *(.got) } 95 .sdata : { *(.sdata) } 96 97 _edata = .; /* End of data section */ 98 99 __bss_start = .; 100 .sbss : { *(.sbss) *(.scommon) } 101 .bss : { *(.bss) *(COMMON) } 102 __bss_stop = .; 103 104 _end = .; 105 106 /* Sections to be discarded */ 107 /DISCARD/ : { *(.exit.text) *(.exit.data) *(.exitcall.exit) } 108 109 .mdebug 0 : { *(.mdebug) } 110 .note 0 : { *(.note) } 111 .comment 0 : { *(.comment) } 112 113 /* Stabs debugging sections */ 114 .stab 0 : { *(.stab) } 115 .stabstr 0 : { *(.stabstr) } 116 .stab.excl 0 : { *(.stab.excl) } 117 .stab.exclstr 0 : { *(.stab.exclstr) } 118 .stab.index 0 : { *(.stab.index) } 119 .stab.indexstr 0 : { *(.stab.indexstr) } 120 /* DWARF 1 */ 121 .debug 0 : { *(.debug) } 122 .line 0 : { *(.line) } 123 /* GNU DWARF 1 extensions */ 124 .debug_srcinfo 0 : { *(.debug_srcinfo) } 125 .debug_sfnames 0 : { *(.debug_sfnames) } 126 /* DWARF 1.1 and DWARF 2 */ 127 .debug_aranges 0 : { *(.debug_aranges) } 128 .debug_pubnames 0 : { *(.debug_pubnames) } 129 /* DWARF 2 */ 130 .debug_info 0 : { *(.debug_info) } 131 .debug_abbrev 0 : { *(.debug_abbrev) } 132 .debug_line 0 : { *(.debug_line) } 133 .debug_frame 0 : { *(.debug_frame) } 134 .debug_str 0 : { *(.debug_str) } 135 .debug_loc 0 : { *(.debug_loc) } 136 .debug_macinfo 0 : { *(.debug_macinfo) } 137 /* SGI/MIPS DWARF 2 extensions */ 138 .debug_weaknames 0 : { *(.debug_weaknames) } 139 .debug_funcnames 0 : { *(.debug_funcnames) } 140 .debug_typenames 0 : { *(.debug_typenames) } 141 .debug_varnames 0 : { *(.debug_varnames) } 142} 143