mirror of
https://github.com/wiiu-env/MochaPayload.git
synced 2024-12-23 06:31:51 +01:00
29 lines
390 B
Plaintext
29 lines
390 B
Plaintext
OUTPUT_ARCH(arm)
|
|
|
|
SECTIONS
|
|
{
|
|
. = (0x08135000);
|
|
|
|
__KERNEL_CODE_START = .;
|
|
.text : {
|
|
build/crt0.o(.init)
|
|
*(.text*);
|
|
}
|
|
.rodata : {
|
|
*(.rodata*)
|
|
}
|
|
.data : {
|
|
*(.data*)
|
|
}
|
|
.bss : {
|
|
*(.bss*)
|
|
*(COMMON*)
|
|
}
|
|
__KERNEL_CODE_END = .;
|
|
|
|
/DISCARD/ : {
|
|
*(*);
|
|
}
|
|
}
|
|
|
|
ASSERT((SIZEOF(.text) + SIZEOF(.rodata) + SIZEOF(.data) + SIZEOF(.bss)) < 0x4200, "elf is too big"); |