Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #include <asm-generic/vmlinux.lds.h> |
| 2 | |
| 3 | .fini : { *(.fini) } =0x9090 |
| 4 | _etext = .; |
| 5 | PROVIDE (etext = .); |
| 6 | |
| 7 | . = ALIGN(4096); |
| 8 | _sdata = .; |
| 9 | PROVIDE (sdata = .); |
| 10 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 11 | RODATA |
| 12 | |
| 13 | .unprotected : { *(.unprotected) } |
| 14 | . = ALIGN(4096); |
| 15 | PROVIDE (_unprotected_end = .); |
| 16 | |
| 17 | . = ALIGN(4096); |
Jeff Dike | 92eac95 | 2005-05-01 08:58:53 -0700 | [diff] [blame] | 18 | __start___ex_table = .; |
| 19 | __ex_table : { *(__ex_table) } |
| 20 | __stop___ex_table = .; |
| 21 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 22 | __uml_setup_start = .; |
| 23 | .uml.setup.init : { *(.uml.setup.init) } |
| 24 | __uml_setup_end = .; |
| 25 | |
| 26 | __uml_help_start = .; |
| 27 | .uml.help.init : { *(.uml.help.init) } |
| 28 | __uml_help_end = .; |
| 29 | |
| 30 | __uml_postsetup_start = .; |
| 31 | .uml.postsetup.init : { *(.uml.postsetup.init) } |
| 32 | __uml_postsetup_end = .; |
| 33 | |
| 34 | __setup_start = .; |
| 35 | .init.setup : { *(.init.setup) } |
| 36 | __setup_end = .; |
| 37 | |
| 38 | . = ALIGN(32); |
| 39 | __per_cpu_start = . ; |
| 40 | .data.percpu : { *(.data.percpu) } |
| 41 | __per_cpu_end = . ; |
| 42 | |
| 43 | __initcall_start = .; |
| 44 | .initcall.init : { |
Jeff Dike | 525fdb6 | 2006-10-30 22:07:14 -0800 | [diff] [blame^] | 45 | INITCALLS |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 46 | } |
| 47 | __initcall_end = .; |
| 48 | |
| 49 | __con_initcall_start = .; |
| 50 | .con_initcall.init : { *(.con_initcall.init) } |
| 51 | __con_initcall_end = .; |
| 52 | |
| 53 | __uml_initcall_start = .; |
| 54 | .uml.initcall.init : { *(.uml.initcall.init) } |
| 55 | __uml_initcall_end = .; |
| 56 | __init_end = .; |
| 57 | |
| 58 | SECURITY_INIT |
| 59 | |
| 60 | __exitcall_begin = .; |
| 61 | .exitcall : { *(.exitcall.exit) } |
| 62 | __exitcall_end = .; |
| 63 | |
| 64 | __uml_exitcall_begin = .; |
| 65 | .uml.exitcall : { *(.uml.exitcall.exit) } |
| 66 | __uml_exitcall_end = .; |
| 67 | |
| 68 | . = ALIGN(4); |
| 69 | __alt_instructions = .; |
| 70 | .altinstructions : { *(.altinstructions) } |
| 71 | __alt_instructions_end = .; |
| 72 | .altinstr_replacement : { *(.altinstr_replacement) } |
| 73 | /* .exit.text is discard at runtime, not link time, to deal with references |
| 74 | from .altinstructions and .eh_frame */ |
| 75 | .exit.text : { *(.exit.text) } |
| 76 | .exit.data : { *(.exit.data) } |
| 77 | |
| 78 | __preinit_array_start = .; |
| 79 | .preinit_array : { *(.preinit_array) } |
| 80 | __preinit_array_end = .; |
| 81 | __init_array_start = .; |
| 82 | .init_array : { *(.init_array) } |
| 83 | __init_array_end = .; |
| 84 | __fini_array_start = .; |
| 85 | .fini_array : { *(.fini_array) } |
| 86 | __fini_array_end = .; |
| 87 | |
| 88 | . = ALIGN(4096); |
| 89 | __initramfs_start = .; |
| 90 | .init.ramfs : { *(.init.ramfs) } |
| 91 | __initramfs_end = .; |
| 92 | |
| 93 | /* Sections to be discarded */ |
| 94 | /DISCARD/ : { |
| 95 | *(.exitcall.exit) |
| 96 | } |
| 97 | |