retroforth/interfaces/native/386flat.ld
crc 428ba86dba native: linker script for flat binary, load custom gdt
FossilOrigin-Name: 17b49b731d236d0978e836e6902615fb53ccf1018289966509620dc6c9111cd7
2018-01-31 18:42:42 +00:00

22 lines
352 B
Text

OUTPUT_FORMAT("binary")
ENTRY(start)
SECTIONS
{
.text 0x100000 : {
code = .; _code = .; __code = .;
*(.text)
. = ALIGN(4096);
}
.data : {
data = .; _data = .; __data = .;
*(.data)
. = ALIGN(4096);
}
.bss :
{
bss = .; _bss = .; __bss = .;
*(.bss)
. = ALIGN(4096);
}
end = .; _end = .; __end = .;
}