Commit Graph

40 Commits

Author SHA1 Message Date
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
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
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
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
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
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
e6e886bdbd Update cygwin makefile shenanigans. 2016-08-19 00:34:39 +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
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
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
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
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