mirror of
https://github.com/Maschell/hid_to_vpad.git
synced 2024-11-10 01:15:06 +01:00
ebe55f9457
- Code clean up - main.c and function_hook.c are now cpp files - added a splash screen
44 lines
801 B
Plaintext
44 lines
801 B
Plaintext
OUTPUT(hidtovpad.elf);
|
|
|
|
/* Tell linker where our application entry is so the garbage collect can work correct */
|
|
ENTRY(__entry_menu);
|
|
|
|
SECTIONS {
|
|
. = 0x00802000;
|
|
.text : {
|
|
*(.kernel_code*);
|
|
*(.text*);
|
|
/* Tell linker to not garbage collect this section as it is not referenced anywhere */
|
|
KEEP(*(.kernel_code*));
|
|
}
|
|
.rodata : {
|
|
*(.rodata*);
|
|
}
|
|
.data : {
|
|
*(.data*);
|
|
|
|
__sdata_start = .;
|
|
*(.sdata*);
|
|
__sdata_end = .;
|
|
|
|
__sdata2_start = .;
|
|
*(.sdata2*);
|
|
__sdata2_end = .;
|
|
}
|
|
.bss : {
|
|
__bss_start = .;
|
|
*(.bss*);
|
|
*(.sbss*);
|
|
*(COMMON);
|
|
__bss_end = .;
|
|
}
|
|
__CODE_END = .;
|
|
|
|
/DISCARD/ : {
|
|
*(*);
|
|
}
|
|
}
|
|
|
|
/******************************************************** FS ********************************************************/
|
|
/* coreinit.rpl difference in addresses 0xFE3C00 */
|