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

27 lines
361 B
Text
Raw Normal View History

2017-04-12 06:15:35 -04:00
OUTPUT_FORMAT("binary")
2017-04-12 07:33:03 -04:00
2017-04-12 06:15:35 -04:00
ENTRY(startanimation)
phys = 0x00010000;
SECTIONS
{
.text phys : AT(phys) {
code = .;
*(.text)
*(.rodata)
. = ALIGN(4096);
}
.data : AT(phys + (data - code))
{
data = .;
*(.data)
. = ALIGN(4096);
}
.bss : AT(phys + (bss - code))
{
bss = .;
*(.bss)
. = ALIGN(4096);
}
end = .;
}