#include "base_defs.ld.inc"
-__kboot_start = .;
-
-.boot.text BLOCK(PAGE_GRAN) :
+.boot.text BLOCK(PAGE_GRAN) :
{
#if defined(CONFIG_X86_BL_MB) || defined(CONFIG_X86_BL_MB2)
*(.multiboot)
#endif
*(.boot.text)
-}
-
-.boot.bss BLOCK(PAGE_GRAN) :
-{
- *(.boot.bss)
-}
+} : boot_text
-.boot.data BLOCK(PAGE_GRAN) :
+.boot.data BLOCK(PAGE_GRAN) :
{
+ /*
+ We treat our boot.bss as data.
+ to avoid confusing linker and some bootloader
+ */
*(.boot.data)
-}
-
-__kboot_end = ALIGN(PAGE_GRAN);
+ *(.boot.bss)
+} : boot_data
#endif /* __LUNAIX_BOOT_SECS_LD_INC */