This repository has been archived on 2024-12-31. You can view files and clone it, but cannot push or open issues or pull requests.
MEMZ/PayloadMBR/linker.ld
Karim Vergnes 5f516dd6c7 tiny jmp
2017-04-13 10:10:31 +02:00

22 lines
262 B
Text

OUTPUT_FORMAT("binary")
ENTRY(start)
codea = 0x7c00;
dataa = 0x0000;
SECTIONS
{
.text : AT(codea)
{
code = .;
*(.text)
*(.rodata)
. = ALIGN(4096);
}
.data : AT(dataa)
{
data = .;
*(.data)
. = ALIGN(4096);
}
end = .;
}