3c71be15aa8b5cc2c1c189005ed7cb5c9eb7cb0d
[lunaix-os.git] / lunaix-os / arch / x86 / includes / linking / boot_secs.ldx
1 #ifndef __LUNAIX_BOOT_SECS_LD_INC
2 #define __LUNAIX_BOOT_SECS_LD_INC
3
4 #include "base_defs.ld.inc"
5
6 __kboot_start = .;
7
8 .boot.text BLOCK(PAGE_GRAN) : 
9 {
10 #if defined(CONFIG_X86_BL_MB) || defined(CONFIG_X86_BL_MB2)
11     *(.multiboot)
12 #endif
13
14     *(.boot.text)
15 }
16
17 .boot.bss BLOCK(PAGE_GRAN) : 
18 {
19     *(.boot.bss)
20 }
21
22 .boot.data BLOCK(PAGE_GRAN) : 
23 {
24     *(.boot.data)
25 }
26
27 __kboot_end = ALIGN(PAGE_GRAN);
28
29 #endif /* __LUNAIX_BOOT_SECS_LD_INC */