mirror of
https://github.com/wiiu-env/MochaPayload.git
synced 2024-11-25 17:26:53 +01:00
31 lines
470 B
Plaintext
31 lines
470 B
Plaintext
|
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/ : {
|
||
|
*(*);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
ASSERT((SIZEOF(.text)) < 0x7E00, "FS text section is too big");
|
||
|
ASSERT((SIZEOF(.bss)) < 0x2C4AAC, "FS bss section is too big");
|