1 #define RUNTIME_DISCARD_EXIT !! 1 #include <asm-generic/vmlinux.lds.h> 2 KERNEL_STACK_SIZE = 4096 * (1 << CONFIG_KERNEL << 3 2 4 #ifdef CONFIG_LD_SCRIPT_STATIC !! 3 OUTPUT_ARCH(powerpc) 5 #include "uml.lds.S" !! 4 jiffies = jiffies_64 + 4; 6 #else !! 5 SECTIONS 7 #include "dyn.lds.S" !! 6 { 8 #endif !! 7 /* Read-only sections, merged into text segment: */ >> 8 . = + SIZEOF_HEADERS; >> 9 .interp : { *(.interp) } >> 10 .hash : { *(.hash) } >> 11 .dynsym : { *(.dynsym) } >> 12 .dynstr : { *(.dynstr) } >> 13 .rel.text : { *(.rel.text) } >> 14 .rela.text : { *(.rela.text) } >> 15 .rel.data : { *(.rel.data) } >> 16 .rela.data : { *(.rela.data) } >> 17 .rel.rodata : { *(.rel.rodata) } >> 18 .rela.rodata : { *(.rela.rodata) } >> 19 .rel.got : { *(.rel.got) } >> 20 .rela.got : { *(.rela.got) } >> 21 .rel.ctors : { *(.rel.ctors) } >> 22 .rela.ctors : { *(.rela.ctors) } >> 23 .rel.dtors : { *(.rel.dtors) } >> 24 .rela.dtors : { *(.rela.dtors) } >> 25 .rel.bss : { *(.rel.bss) } >> 26 .rela.bss : { *(.rela.bss) } >> 27 .rel.plt : { *(.rel.plt) } >> 28 .rela.plt : { *(.rela.plt) } >> 29 /* .init : { *(.init) } =0*/ >> 30 .plt : { *(.plt) } >> 31 .text : >> 32 { >> 33 *(.text) >> 34 *(.fixup) >> 35 *(.got1) >> 36 __got2_start = .; >> 37 *(.got2) >> 38 __got2_end = .; >> 39 } >> 40 _etext = .; >> 41 PROVIDE (etext = .); >> 42 >> 43 RODATA >> 44 .fini : { *(.fini) } =0 >> 45 .ctors : { *(.ctors) } >> 46 .dtors : { *(.dtors) } >> 47 >> 48 .fixup : { *(.fixup) } >> 49 >> 50 __ex_table : { >> 51 __start___ex_table = .; >> 52 *(__ex_table) >> 53 __stop___ex_table = .; >> 54 } >> 55 >> 56 __bug_table : { >> 57 __start___bug_table = .; >> 58 *(__bug_table) >> 59 __stop___bug_table = .; >> 60 } >> 61 >> 62 /* Read-write section, merged into data segment: */ >> 63 . = ALIGN(4096); >> 64 .data : >> 65 { >> 66 *(.data) >> 67 *(.data1) >> 68 *(.sdata) >> 69 *(.sdata2) >> 70 *(.got.plt) *(.got) >> 71 *(.dynamic) >> 72 CONSTRUCTORS >> 73 } >> 74 >> 75 . = ALIGN(32); >> 76 .data.cacheline_aligned : { *(.data.cacheline_aligned) } >> 77 >> 78 _edata = .; >> 79 PROVIDE (edata = .); >> 80 >> 81 . = ALIGN(8192); >> 82 .data.init_task : { *(.data.init_task) } >> 83 >> 84 . = ALIGN(4096); >> 85 __init_begin = .; >> 86 .init.text : { >> 87 _sinittext = .; >> 88 *(.init.text) >> 89 _einittext = .; >> 90 } >> 91 .init.data : { >> 92 *(.init.data); >> 93 __vtop_table_begin = .; >> 94 *(.vtop_fixup); >> 95 __vtop_table_end = .; >> 96 __ptov_table_begin = .; >> 97 *(.ptov_fixup); >> 98 __ptov_table_end = .; >> 99 } >> 100 . = ALIGN(16); >> 101 __setup_start = .; >> 102 .init.setup : { *(.init.setup) } >> 103 __setup_end = .; >> 104 __start___param = .; >> 105 __param : { *(__param) } >> 106 __stop___param = .; >> 107 __initcall_start = .; >> 108 .initcall.init : { >> 109 *(.initcall1.init) >> 110 *(.initcall2.init) >> 111 *(.initcall3.init) >> 112 *(.initcall4.init) >> 113 *(.initcall5.init) >> 114 *(.initcall6.init) >> 115 *(.initcall7.init) >> 116 } >> 117 __initcall_end = .; >> 118 >> 119 __con_initcall_start = .; >> 120 .con_initcall.init : { *(.con_initcall.init) } >> 121 __con_initcall_end = .; >> 122 >> 123 SECURITY_INIT >> 124 >> 125 __start___ftr_fixup = .; >> 126 __ftr_fixup : { *(__ftr_fixup) } >> 127 __stop___ftr_fixup = .; >> 128 >> 129 . = ALIGN(32); >> 130 __per_cpu_start = .; >> 131 .data.percpu : { *(.data.percpu) } >> 132 __per_cpu_end = .; >> 133 >> 134 . = ALIGN(4096); >> 135 __initramfs_start = .; >> 136 .init.ramfs : { *(.init.ramfs) } >> 137 __initramfs_end = .; >> 138 >> 139 . = ALIGN(4096); >> 140 __init_end = .; >> 141 >> 142 . = ALIGN(4096); >> 143 __pmac_begin = .; >> 144 .pmac.text : { *(.pmac.text) } >> 145 .pmac.data : { *(.pmac.data) } >> 146 . = ALIGN(4096); >> 147 __pmac_end = .; >> 148 >> 149 . = ALIGN(4096); >> 150 __prep_begin = .; >> 151 .prep.text : { *(.prep.text) } >> 152 .prep.data : { *(.prep.data) } >> 153 . = ALIGN(4096); >> 154 __prep_end = .; >> 155 >> 156 . = ALIGN(4096); >> 157 __chrp_begin = .; >> 158 .chrp.text : { *(.chrp.text) } >> 159 .chrp.data : { *(.chrp.data) } >> 160 . = ALIGN(4096); >> 161 __chrp_end = .; >> 162 >> 163 . = ALIGN(4096); >> 164 __openfirmware_begin = .; >> 165 .openfirmware.text : { *(.openfirmware.text) } >> 166 .openfirmware.data : { *(.openfirmware.data) } >> 167 . = ALIGN(4096); >> 168 __openfirmware_end = .; >> 169 >> 170 __bss_start = .; >> 171 .bss : >> 172 { >> 173 *(.sbss) *(.scommon) >> 174 *(.dynbss) >> 175 *(.bss) >> 176 *(COMMON) >> 177 } >> 178 __bss_stop = .; >> 179 >> 180 _end = . ; >> 181 PROVIDE (end = .); >> 182 >> 183 /* Sections to be discarded. */ >> 184 /DISCARD/ : { >> 185 *(.exitcall.exit) >> 186 } >> 187 }
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.