Commit Graph

79 Commits

Author SHA1 Message Date
James Benton
39429c0cbc cmake: Cleanup some CMake stuff. 2018-06-15 13:59:55 +01:00
James Benton
4c780f47e3 Try fix zlib includes. 2018-06-15 08:08:46 +01:00
James Benton
2420cf70d5 When building intree zlib, build zlibstatic not shared. 2018-06-14 14:06:03 +01:00
James Benton
10a085dd23 be_val: Remove usage of constexpr for supporting older gcc versions. 2018-06-14 13:33:42 +01:00
James Benton
6344e56090 Add missing include to utils.h 2018-06-13 18:54:21 +01:00
James Benton
2d0db54e65 elf2rpl: Bump up cafe SDK version in file info sections.
Matches latest SDK version.
2018-06-11 16:46:35 +01:00
James Benton
a00804a22d readrpl: Add --exports-def to generate exports.def file for an rpl. 2018-06-11 15:36:21 +01:00
James Benton
38ae220cd6 elf2rpl: Simplify fixLoaderVirtualAddresses to only move STRTAB + SYMTAB.
Until we can get ld to give these alloc flags we will always need this.
2018-05-30 22:52:20 +01:00
James Benton
e52affa9d5 elf2rpl: Remove unused functions. 2018-05-30 22:51:51 +01:00
James Benton
6a116a8e41 elf2rpl: Remove reorderSectionIndex.
Not needed.
2018-05-30 22:43:41 +01:00
James Benton
0ef7dcfa32 elf2rpl: Remove fixRoDataFlags.
This is covered by linker script.
2018-05-30 22:42:05 +01:00
James Benton
ae70d3a4a9 elf2rpl: Remove fixSectionAlign.
Not needed.
2018-05-30 22:40:53 +01:00
James Benton
c15e185762 elf2rpl: Remove fixBssNoBits transform.
Not needed since we updated linker script to have (NOLOAD)!
2018-05-30 22:40:41 +01:00
James Benton
61a84c50b6 tools: Add rplexportgen to produce SHT_RPL_EXPORTS. 2018-05-30 18:56:10 +01:00
James Benton
c98c7e39e4 elf2rpl: Check relocation section index before performing relocations. 2018-05-30 18:56:10 +01:00
James Benton
2ea440c90e elf2rpl: Add flag to toggle whether IS_RPX flag is set in file info. 2018-05-30 18:56:10 +01:00
James Benton
beb72e9859 elf2rpl: Add excmd based command line parsing. 2018-05-30 18:56:08 +01:00
James Benton
e709fe29aa elf2rpl: Add missing newlines to printed messages. 2018-05-30 14:44:14 +01:00
James Benton
5ce21d4fdc rplgen: Fix section flags for dimport section. 2018-05-29 10:52:40 +01:00
James Benton
c412250d48 tools/rplgen: Move trim to utils.h 2018-05-29 10:52:40 +01:00
James Benton
607b59fb1b Skip zlib install. 2018-05-25 14:48:13 +01:00
James Benton
35c9b5bfdd Do not use ExternalProject_Add for tools. 2018-05-25 13:58:07 +01:00
James Benton
17ea24cdb0 Add zlib as a submodule. 2018-05-25 13:57:47 +01:00
James Benton
11adfb8f07 elf2rpl: Change fixLoaderVirtualAddress to use section type instead of name. 2018-05-25 00:17:22 +01:00
James Benton
a1072fc729 elf2rpl: Fix .rodata section flags to have WRITE.
Yes, READ ONLY data requires a WRITE flag.
2018-05-25 00:16:57 +01:00
James Benton
0a4a7c66b3 elf2rpl: Process sections by type, not by name. 2018-05-24 23:48:33 +01:00
James Benton
d6478d831e elf2rpl: Add support for section deflation. 2018-05-24 23:32:35 +01:00
James Benton
55b2695eaf Add some .rpl verification to readrpl 2018-05-24 23:32:08 +01:00
James Benton
8add0d0503 elf2rpl: Align textSize, dataSize, loadSize. 2018-05-23 17:32:12 +01:00
James Benton
bc12c9abef elf2rpl: Fix REL32 -> REL16 conversion. 2018-05-23 16:11:50 +01:00
James Benton
c7325899be readRpl: Add SHT_RPL_CRCS value check 2018-05-23 15:36:25 +01:00
James Benton
541676ce38 elf2rpl: Fix SHT_RPL_CRCS section 2018-05-23 15:36:07 +01:00
James Benton
9bcf22e40f Add tools readrpl, udplogserver. 2018-05-23 12:35:24 +01:00
James Benton
959e4897c1 Fix type cast warnings in elf2rpl. 2018-05-23 11:25:49 +01:00
James Benton
09606f873e tools: Add be_val.h 2018-05-23 11:25:38 +01:00
James Benton
fc10605172 Rewrite! 2018-05-23 09:47:28 +01:00
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