toaruos/modules/link.ld
Kevin Lange ed03c517ad More real module loading
Still need to do proper loading of the ELF sections somewhere, but other
than that, we've got a standard interface now. Needs a syscall so we can
write an insmod or something like that.
2014-03-11 23:56:08 -07:00

20 lines
162 B
Plaintext

SECTIONS
{
.text :
{
*(.text*)
*(.rodata)
. = ALIGN(4096);
}
.data :
{
*(.data*)
. = ALIGN(4096);
}
.bss :
{
*(.bss*)
. = ALIGN(4096);
}
}