Commit Graph

183 Commits

Author SHA1 Message Date
shinyquagsire23
cdb90a39a7 Add basic sysapp RPL imports 2016-07-24 19:06:36 -07:00
James Benton
a1d023af16 Add some comments to vpad/input.h 2016-07-25 02:03:46 +01:00
James
60e3575f59 Merge pull request #17 from shinyquagsire23/rpl-vpad
Add basic vpad RPL imports
2016-07-25 01:16:27 +01:00
James
b2cf6c2ded Merge pull request #18 from shinyquagsire23/fix-fimport-elf2rpl
Fix issue with import handling where import section symbols were indexed incorrectly
2016-07-25 01:14:50 +01:00
shinyquagsire23
07245cf136 Fix issue with import handling where import section symbols were indexed incorrectly 2016-07-24 17:05:44 -07:00
shinyquagsire23
5f109cbfea Add basic vpad RPL imports 2016-07-24 17:04:27 -07:00
James Benton
67cc02c52b Remove trailing whitespace in socket.h 2016-07-24 23:41:21 +01:00
James
9f0676c2a8 Merge pull request #16 from shinyquagsire23/rpl-nsysnet
Add nsysnet RPL imports
2016-07-24 23:16:11 +01:00
shinyquagsire23
cc0c50a8d5 Add nsysnet RPL imports 2016-07-24 15:13:06 -07:00
James
ca75c5b2c6 Merge pull request #15 from shinyquagsire23/coreinit-screen
Add OSScreen functions to coreinit
2016-07-24 22:09:06 +01:00
shinyquagsire23
6f88094f1d Add OSScreen functions to coreinit 2016-07-24 14:03:22 -07:00
James Benton
a3f9fb0564 Add command line options to readrpl. 2016-07-24 11:45:30 +01:00
James
d01d8297e2 Merge pull request #14 from shinyquagsire23/tempsize-fix-again
Assume largest possible size increase after alignment for tempSize
2016-07-24 10:17:30 +01:00
shinyquagsire23
91b00dcab2 Assume largest possible size increase after alignment for tempSize 2016-07-23 19:57:59 -07:00
James
c9f357d695 Merge pull request #13 from shinyquagsire23/findsymbol-fix
Fix corner case with findSymbol in elf2rpl
2016-07-24 02:06:10 +01:00
shinyquagsire23
2574e29958 Fix corner case with findSymbol in elf2rpl 2016-07-23 18:01:54 -07:00
James
ce1f25e0ca Merge pull request #12 from shinyquagsire23/licensing-fix
Fix licensing issues
2016-07-24 02:01:22 +01:00
shinyquagsire23
d6de85a00e Fix licensing issues 2016-07-23 17:57:04 -07:00
James Benton
1ff6658dcc Remove trailing whitespace from rpl.ld 2016-07-23 11:25:30 +01:00
James Benton
fc3bfa64ed Implement __wrap_malloc_usable_size.
This is just MEMGetSizeForMBlockExpHeap.
2016-07-23 11:23:32 +01:00
James Benton
d02bdf6e35 Use enums instead of defines in memheap.h 2016-07-23 11:09:58 +01:00
James Benton
29b6d586e6 Update frameheap to have correct structure. 2016-07-23 11:09:58 +01:00
James Benton
8e9425f7d4 Add some comments to coreinit/baseheap.h 2016-07-23 11:09:58 +01:00
James
9a48378994 Merge pull request #11 from shinyquagsire23/linking-fixes
Adjustments for linking, rpx/rpl generation
2016-07-23 11:09:55 +01:00
shinyquagsire23
9173f0f6c3 Adjustments for linking, rpx/rpl generation 2016-07-22 20:35:20 -07:00
James
2c69f7d9be Merge pull request #10 from shinyquagsire23/elf2rpl-fixes
Collective fixes for elf2rpl
2016-07-17 22:37:11 +01:00
James
e43b04ddcc Merge pull request #9 from shinyquagsire23/wut-coreinit-fixes
Remove imports which don't exist in elf2rpl's target coreinit version
2016-07-17 22:35:50 +01:00
James
84ac97592a Merge pull request #8 from shinyquagsire23/correct-data-order
Write in data in the order that loader expects it
2016-07-17 22:32:36 +01:00
shinyquagsire23
631d88a4c3 Remove imports which don't exist in elf2rpl's target coreinit.rpl version 2016-07-16 17:32:13 -07:00
shinyquagsire23
072063e9d0 Tweaks to elf2rpl in order to pass all loader checks 2016-07-16 17:29:20 -07:00
shinyquagsire23
6825b2b108 Write in data in the order that loader expects it 2016-07-15 20:32:12 -07:00
James
4eed903b0a Merge pull request #7 from shinyquagsire23/crc-endianness
Fix elf2rpl CRC section endianness
2016-07-15 23:10:11 +01:00
shinyquagsire23
74de2a77dc Fix elf2rpl CRC section endianness 2016-07-15 15:06:47 -07:00
James
4aa7a245bd Merge pull request #6 from shinyquagsire23/imports-sigs
Add SHT_RPL_IMPORT signatures to elf2rpl
2016-07-14 22:34:23 +01:00
shinyquagsire23
77dee438d8 Add SHT_RPL_IMPORT signatures to elf2rpl 2016-07-14 14:27:15 -07:00
James
bcf8b0dbcf Merge pull request #5 from shinyquagsire23/fix-readrpl-zlib-size
Fix readrpl temp zlib buffer size
2016-07-14 11:17:13 +01:00
shinyquagsire23
9e4bd3a8b5 Fix readrpl temp zlib buffer size 2016-07-13 17:28:40 -07:00
James Benton
91dde76fbb Detect when exports.h has been modified. 2016-07-06 21:09:27 +01:00
James Benton
9b769d2f6e yo this cygpath shit is fukt up yo 2016-07-06 21:06:57 +01:00
James Benton
64bb52c552 Add OSBlockMove and OSBlockSet. 2016-07-06 20:48:54 +01:00
James Benton
1ae09d4cf5 Only use cygpath for cygwin shells. 2016-07-06 20:21:55 +01:00
James Benton
0ac58e8bf4 Fix trampoline generation. 2016-07-06 19:21:31 +01:00
James Benton
ad50ef9ec6 Remove unused PORTLIBS from base.mk 2016-07-06 18:46:19 +01:00
James Benton
075d80aec8 Add coreinit coroutine API. 2016-07-06 18:46:05 +01: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
469b69d11f Fix elf2rpl incorrect section type output for bss. 2016-06-08 01:11:23 +01:00
James Benton
49f10e6465 Cleanup sample/helloworld Makefile. 2016-06-08 00:59:58 +01:00
James Benton
3db025da59 Cleanup rpl.ld sections 2016-06-08 00:59:55 +01:00
James Benton
55721fbe4f Add dependency on exports.h in library Makefile. 2016-06-08 00:59:51 +01:00