wut/crt/tconfig.h
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

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