debuggers.hg

view xen/arch/x86/x86_32/xen.lds @ 4510:0dc3b8b8c298

bitkeeper revision 1.1159.170.110 (42527636gInunc40rkIVZVCuDC-_OQ)

Merge
author sd386@font.cl.cam.ac.uk
date Tue Apr 05 11:27:50 2005 +0000 (2005-04-05)
parents f65b65977b19 3857ec2f2189
children
line source
1 /* ld script to make i386 Linux kernel
2 * Written by Martin Mares <mj@atrey.karlin.mff.cuni.cz>
3 * Modified for i386 Xen by Keir Fraser
4 */
5 OUTPUT_FORMAT("elf32-i386", "elf32-i386", "elf32-i386")
6 OUTPUT_ARCH(i386)
7 ENTRY(start)
8 PHDRS
9 {
10 text PT_LOAD ;
11 }
12 SECTIONS
13 {
14 . = 0xFC400000 + 0x100000;
15 _text = .; /* Text and read-only data */
16 .text : {
17 *(.text)
18 *(.fixup)
19 *(.gnu.warning)
20 } :text =0x9090
21 .text.lock : { *(.text.lock) } :text /* out-of-line lock text */
23 _etext = .; /* End of text section */
25 .rodata : { *(.rodata) *(.rodata.*) } :text
26 .kstrtab : { *(.kstrtab) } :text
28 . = ALIGN(16); /* Exception table */
29 __start___ex_table = .;
30 __ex_table : { *(__ex_table) } :text
31 __stop___ex_table = .;
33 . = ALIGN(16); /* Pre-exception table */
34 __start___pre_ex_table = .;
35 __pre_ex_table : { *(__pre_ex_table) } :text
36 __stop___pre_ex_table = .;
38 __start___ksymtab = .; /* Kernel symbol table */
39 __ksymtab : { *(__ksymtab) } :text
40 __stop___ksymtab = .;
42 __start___kallsyms = .; /* All kernel symbols */
43 __kallsyms : { *(__kallsyms) } :text
44 __stop___kallsyms = .;
46 .data : { /* Data */
47 *(.data)
48 CONSTRUCTORS
49 } :text
51 _edata = .; /* End of data section */
53 . = ALIGN(8192); /* init_task */
54 .data.init_task : { *(.data.init_task) } :text
56 . = ALIGN(4096); /* Init code and data */
57 __init_begin = .;
58 .text.init : { *(.text.init) } :text
59 .data.init : { *(.data.init) } :text
60 . = ALIGN(16);
61 __setup_start = .;
62 .setup.init : { *(.setup.init) } :text
63 __setup_end = .;
64 __initcall_start = .;
65 .initcall.init : { *(.initcall.init) } :text
66 __initcall_end = .;
67 __init_end = .;
69 __bss_start = .; /* BSS */
70 .bss : {
71 *(.bss)
72 } :text
73 _end = . ;
75 /* Sections to be discarded */
76 /DISCARD/ : {
77 *(.text.exit)
78 *(.data.exit)
79 *(.exitcall.exit)
80 }
82 /* Stabs debugging sections. */
83 .stab 0 : { *(.stab) }
84 .stabstr 0 : { *(.stabstr) }
85 .stab.excl 0 : { *(.stab.excl) }
86 .stab.exclstr 0 : { *(.stab.exclstr) }
87 .stab.index 0 : { *(.stab.index) }
88 .stab.indexstr 0 : { *(.stab.indexstr) }
89 .comment 0 : { *(.comment) }
90 }