]> git.buserror.net Git - polintos/scott/priv.git/blob - kernel/arch/x64/linker-script
minor doc updates
[polintos/scott/priv.git] / kernel / arch / x64 / linker-script
1 ENTRY(_start)
2 PHDRS
3 {
4         all PT_LOAD FILEHDR PHDRS AT (0xffffffff80200000);
5 }
6 SECTIONS
7 {
8         . = 0xffffffff80200000 + SIZEOF_HEADERS;
9         .text : { 
10                 *(.text)        *(.gnu.linkonce.t.*)
11                 *(.rodata*) *(.gnu.linkonce.r.*)
12                 *(.eh_frame) *(.rela.eh_frame) *(.gcc_except_table)
13                 ctors = .;
14                 *(.ctors)
15                 QUAD(0)
16                 ctors_end = .;
17                 *(.irqs)
18         } :all
19         . = . + 0x1000;
20         data_start = .;
21         .data : { *(.data) *(.gnu.linkonce.d.*)  } :all
22         bss_start = .;
23         .bss : { *(.bss) } :all
24         bss_end = .;
25         _end = .;
26 }