MochaPayload/source/ios_fs/link.ld

31 lines
469 B
Plaintext
Raw Permalink Normal View History

OUTPUT_ARCH(arm)
PROVIDE(printf = 0x107f0c84);
SECTIONS
{
.text (0x10700000 + 0x000F8200) : {
_text_start = .;
*(.text*);
*(.rodata*);
}
_text_end = .;
.bss (0x10835000 + 0x1406554) : {
_bss_start = .;
*(.bss*);
*(COMMON);
}
.io_buffer : ALIGN(0x40) {
*(.io_buffer*);
}
_bss_end = .;
/DISCARD/ : {
*(*);
}
}
2023-11-24 13:31:17 +01:00
ASSERT((SIZEOF(.text)) < 0xE00, "FS text section is too big");
ASSERT((SIZEOF(.bss)) < 0x2C4AAC, "FS bss section is too big");