BarryServer : Git

All the code for all my projects
// BarryServer : Git / Orion / blob / master / linker.ld

// Related

Orion

Barry Importing existing Orion kernel d41a53c (2 years, 4 months ago)
ENTRY(_start)

SECTIONS {

	.text 1M :
	{
		KEEP(*(.multiboot))
		_code = .;
		*(.text*)
		. = ALIGN(4096);
	}

	.data :
	{
		_data = .;
		*(.rodata*)
		*(.data*)
		. = ALIGN(4096);
	}

	.bss :
	{
		_bss = .;
		*(.bss)
		*(COMMON)
		. = ALIGN(4096);
	}

	_end = .;

	/DISCARD/ :
	{
		*(.comment)
	}
}