payload_loader/src/link.ld

19 lines
243 B
Plaintext
Raw Normal View History

2019-01-12 20:29:45 +01:00
OUTPUT(payload_loader.elf);
ENTRY(_start);
SECTIONS {
. = 0x011DD000;
.text : {
*(.text*);
}
.data : {
*(.rodata*);
}
/DISCARD/ : {
*(*);
}
}
2019-07-25 10:31:47 +02:00
ASSERT((SIZEOF(.text) + SIZEOF(.data)) < 0x3000, "please recude the size.");