Files
x86-bare-metal-examples/bios_hello_world_c/linker.ld
2018-12-02 21:01:24 +00:00

18 lines
253 B
Plaintext

ENTRY(mystart)
SECTIONS
{
.text : {
entry.o(.text)
*(.text)
*(.rodata)
*(.data)
/**(.eh_frame)*/
. = 0x1FE;
SHORT(0xAA55)
}
/* Reserve 16 MiB of stack. */
__stack_bottom = .;
. = . + 0x1000000;
__stack_top = .;
}