Line | |
---|
1 | OUTPUT_FORMAT("elf64-x86-64", "elf64-x86-64", "elf64-x86-64") |
---|
2 | OUTPUT_ARCH(i386:x86-64) |
---|
3 | ENTRY(_start) |
---|
4 | SECTIONS |
---|
5 | { |
---|
6 | . = 0x0; |
---|
7 | _text = .; /* Text and read-only data */ |
---|
8 | .text : { |
---|
9 | *(.text) |
---|
10 | *(.gnu.warning) |
---|
11 | } = 0x9090 |
---|
12 | |
---|
13 | _etext = .; /* End of text section */ |
---|
14 | |
---|
15 | .rodata : { *(.rodata) *(.rodata.*) } |
---|
16 | |
---|
17 | .data : { /* Data */ |
---|
18 | *(.data) |
---|
19 | CONSTRUCTORS |
---|
20 | } |
---|
21 | |
---|
22 | _edata = .; /* End of data section */ |
---|
23 | |
---|
24 | . = ALIGN(8192); /* init_task */ |
---|
25 | .data.init_task : { *(.data.init_task) } |
---|
26 | |
---|
27 | . = ALIGN(4096); |
---|
28 | .data.page_aligned : { *(.data.idt) } |
---|
29 | |
---|
30 | . = ALIGN(32); |
---|
31 | .data.cacheline_aligned : { *(.data.cacheline_aligned) } |
---|
32 | |
---|
33 | __bss_start = .; /* BSS */ |
---|
34 | .bss : { |
---|
35 | *(.bss) |
---|
36 | } |
---|
37 | _end = . ; |
---|
38 | |
---|
39 | /* Sections to be discarded */ |
---|
40 | /DISCARD/ : { |
---|
41 | *(.text.exit) |
---|
42 | *(.data.exit) |
---|
43 | *(.exitcall.exit) |
---|
44 | } |
---|
45 | |
---|
46 | /* Stabs debugging sections. */ |
---|
47 | .stab 0 : { *(.stab) } |
---|
48 | .stabstr 0 : { *(.stabstr) } |
---|
49 | .stab.excl 0 : { *(.stab.excl) } |
---|
50 | .stab.exclstr 0 : { *(.stab.exclstr) } |
---|
51 | .stab.index 0 : { *(.stab.index) } |
---|
52 | .stab.indexstr 0 : { *(.stab.indexstr) } |
---|
53 | .comment 0 : { *(.comment) } |
---|
54 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.