Commit Graph

43 Commits

Author SHA1 Message Date
CreeperMario
76a8b8e292 readrpl: Return -1 instead of false in main()
* This suppresses a compiler warning emitted by clang, about returning a
boolean value when an integer is expected.
2017-10-10 09:12:54 +10:30
CreeperMario
d44b7f774e Update cppformat v2 to fmtlib v4
* I did this mainly to remove some build warnings that were showing up
in cppformat v2 underneath clang (the default macOS compiler)
* At this point, WUT will build on macOS with no warnings whatsoever.
2017-08-27 18:41:08 +09:30
CreeperMario
ac4ce95f84 udplogserver: Flush output buffer when sent a message
* Because we are no longer adding a new line, which automatically
flushes the buffer.
2017-08-20 17:51:45 +09:30
CreeperMario
84d1957066 udplogserver: Do not automatically add a new line to log outputs. 2017-08-19 21:23:20 +09:30
James Benton
c265a9f4db Fix udplogserver Linux build 2017-06-02 13:54:55 +01:00
James Benton
43e1b0ab4f Add UDP log server. 2017-06-02 11:52:30 +01:00
James Benton
bfeac63818 Rearrange source tree. 2017-05-07 01:37:13 +01:00
James Benton
def87c9bc8 Fix zlib debug library path. 2017-05-05 16:59:24 +01:00
James Benton
8af0ffe9c7 Move wut to using CMake instead of Makefiles.
The old makefile solution will still be around on branch "make".
2017-03-23 12:18:02 +00:00
CreeperMario Games
d7a2af2a0b Added ICInvalidateRange to coreinit and modified Makefiles 2016-11-06 09:48:30 +10:30
James Benton
3aab93aa14 Makefile: Build tools into tools/bin 2016-10-11 22:41:28 +01:00
James Benton
07fafab7b4 tools: Update implcheck to compare rpl exports with an exports.h file.
Will verify that you do not have any extra exports which should not exist.
Can optionally print unimplemented / implemented function & data exports.
2016-10-11 22:17:24 +01:00
dimok789
be3bcba701 - added missing gcc_except_table section
- added ignore of paddings in elf2rpl
2016-10-11 19:04:55 +02:00
shinyquagsire23
e0f2125068 Move rodata into text so that jump tables work properly without -fno-jump-tables 2016-09-28 23:50:17 -06:00
James Benton
e4c91162d4 Add support for specifying install directory with "make install DESTDIR=x" 2016-08-25 12:07:34 +01:00
James Benton
e6e886bdbd Update cygwin makefile shenanigans. 2016-08-19 00:34:39 +01:00
James Benton
23987e8bc3 Fix handling of TLS export names in readrpl.
They have the high bit set for some odd reason...!
2016-08-16 11:38:52 +01:00
shinyquagsire23
52d09f5a7b tempSize is based on all sections with a 0 address except RPL_CRCS and RPL_FILEINFO 2016-08-13 11:47:17 -07:00
shinyquagsire23
23dff0fe81 Have elf2rpl write in same allignments as reflected in rpl.ld, fix issue with .tbss where GCC is dumb and doesn't increment the address 2016-07-30 16:56:25 -07:00
shinyquagsire23
07245cf136 Fix issue with import handling where import section symbols were indexed incorrectly 2016-07-24 17:05:44 -07:00
James Benton
a3f9fb0564 Add command line options to readrpl. 2016-07-24 11:45:30 +01:00
shinyquagsire23
91b00dcab2 Assume largest possible size increase after alignment for tempSize 2016-07-23 19:57:59 -07:00
shinyquagsire23
2574e29958 Fix corner case with findSymbol in elf2rpl 2016-07-23 18:01:54 -07: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
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
shinyquagsire23
74de2a77dc Fix elf2rpl CRC section endianness 2016-07-15 15:06:47 -07:00
shinyquagsire23
77dee438d8 Add SHT_RPL_IMPORT signatures to elf2rpl 2016-07-14 14:27:15 -07:00
shinyquagsire23
9e4bd3a8b5 Fix readrpl temp zlib buffer size 2016-07-13 17:28:40 -07:00
James Benton
469b69d11f Fix elf2rpl incorrect section type output for bss. 2016-06-08 01:11:23 +01:00
James Benton
dd32ac1e70 Update tools vcxproj to add missing includes. 2016-06-03 00:04:27 +01:00
James Benton
f3c530f96c Fix Windows builds with cygwin. 2016-06-03 00:04:22 +01:00
James Benton
ad6d357e80 Cheeky lil tool to track unimplemented functions. 2016-01-11 01:42:25 +00:00
James Benton
984d8c8db4 SoonTM 2016-01-11 01:40:55 +00:00
James Benton
9cd1940bc8 Calculate crc of sections.
Close #1.
2016-01-05 15:45:05 -08:00
James Benton
83e6b4c004 Remove some out dated TODO comments. 2016-01-05 15:27:01 -08:00
James Benton
fe5327c69d Fix relocations into data section. 2016-01-05 15:22:39 -08:00
James Benton
950ca647d0 Calculate SHT_RPL_FILEINFO textSize, dataSize and loadSize. 2016-01-05 22:36:33 +00:00
James Benton
f723c4c462 Fix readrpl Makefile 2016-01-04 09:17:48 -08:00
James Benton
0df2531623 Add readrpl tool. 2016-01-04 17:10:32 +00:00
James Benton
e781efe156 Update makefile for elf2rpl 2016-01-04 05:46:52 -08:00
James Benton
397426de37 Add elf2rpl src. 2016-01-04 13:17:43 +00:00