shinyquagsire23
e0f2125068
Move rodata into text so that jump tables work properly without -fno-jump-tables
2016-09-28 23:50:17 -06:00
shinyquagsire23
9173f0f6c3
Adjustments for linking, rpx/rpl generation
2016-07-22 20:35:20 -07:00
James Benton
5c91545658
Build libcrt.a instead of using separate object files.
2016-07-06 18:44:48 +01:00
James Benton
8aa77c9ee6
Add a part of libgcc to get 64 bit integer division function __udivdi3.
...
We cannot link with devkitPPC libgcc because it includes __eabi which we
do not want, as that sets up r2 and r13 SDA registers from elf file symbols
but that is done by the RPL FileInfo read by CafeOS for the Wii U.
In future we should probably fork devkitPPC to build without powerpc eabi
in order to match what we expect for the Wii U.
2016-06-08 01:24:37 +01:00
James Benton
1798d782f3
Add -lcoreinit to rpl.mk as it is required by crt0.S
2016-01-05 15:25:22 -08:00
James Benton
747be9e29e
Add .rpx build rule.
2016-01-04 06:35:58 -08:00
James Benton
e46445c3ec
Set linker page size to reduce padding.
...
Previously every PHDR had align(0x1000) creating huge amounts of padding.
Changing page size to 64 changes PHDR align to 0x40, reducing elf size.
2015-12-27 20:02:20 -08:00
James Benton
c2c9f05328
Proper PIE for RPL.
2015-12-27 05:45:32 -08:00
James Benton
8a9dfb1835
Basic start of a Wii U Toolchain.
2015-12-26 18:10:38 -08:00