mirror of
https://github.com/wiiu-env/MochaPayload.git
synced 2024-11-22 16:09:14 +01:00
28 lines
372 B
Plaintext
28 lines
372 B
Plaintext
OUTPUT_ARCH(arm)
|
|
|
|
PROVIDE(snprintf = 0x05059010);
|
|
|
|
SECTIONS
|
|
{
|
|
.text 0x05116000 : {
|
|
_text_start = .;
|
|
*(.text*)
|
|
*(.rodata*)
|
|
}
|
|
_text_end = .;
|
|
|
|
.bss 0x050BD000 : {
|
|
_bss_start = .;
|
|
*(.bss*);
|
|
}
|
|
_bss_end = .;
|
|
|
|
/DISCARD/ : {
|
|
*(*);
|
|
}
|
|
}
|
|
|
|
ASSERT((SIZEOF(.text)) < 0x3F00, "text section is too big");
|
|
ASSERT((SIZEOF(.bss)) < 0x3000, "bss section is too big");
|
|
|