WiiUPluginSystem/wups.ld
Maschell b6119fde91 [Example Plugin] Updated the example plugin to override the OSFatal function.
The new OSFatal function logs the old message, and the calls the "real" OSFatal with a new String.
[General] - Added the .sdata section to the wups.ld
- Added all library_types to the enum
- Updated the wups_loader_entry_t struct to store the needed data
- Simplified the WUPS_MUST_REPLACE macro
- Removed unneeded stuff
2018-02-10 14:56:07 +01:00

31 lines
293 B
Plaintext

SECTIONS {
.wups.meta : {
*(.wups.meta*)
}
.wups.load : {
*(.wups.load*)
}
.text : {
*(.text*)
}
.sdata : {
*(.sdata*)
}.data : {
*(.data*)
}
.rodata : {
*(.rodata*)
}
.got2 : {
*(.got2*)
}
.sbss : {
*(.sbss*)
}
.bss : {
*(.bss*)
}
/DISCARD/ : {
*(*)
}
}