mirror of
https://github.com/wiiu-env/wut.git
synced 2024-12-13 21:21:53 +01:00
8aa77c9ee6
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.
9 lines
202 B
C
9 lines
202 B
C
// Defines needed to compile libgcc2.c
|
|
#define BITS_PER_UNIT 8
|
|
#define LONG_DOUBLE_TYPE_SIZE 64
|
|
#define MIN_UNITS_PER_WORD 4
|
|
typedef unsigned int size_t;
|
|
|
|
// Unsigned 64 bit division:
|
|
#define L_udivdi3
|