about summary refs log blame commit diff
path: root/src/linker.ld
blob: aa492e5965e500b71f78f8d827b8545b6a4a2176 (plain) (tree)


























                                     

                
  
ENTRY(_start)
SECTIONS
{
	. = 1M;
 
	/* Multiboot header */
	.text BLOCK(4K) : ALIGN(4K)
	{
		*(.multiboot)
		*(.text)
	}
 
	.rodata BLOCK(4K) : ALIGN(4K)
	{
		*(.rodata)
	}
 
	.data BLOCK(4K) : ALIGN(4K)
	{
		*(.data)
	}
 
	.bss BLOCK(4K) : ALIGN(4K)
	{
		*(COMMON)
		*(.bss)
	}

        end = .;
}