Commit Graph

779 Commits

Author SHA1 Message Date
James Benton
1798d782f3 Add -lcoreinit to rpl.mk as it is required by crt0.S 2016-01-05 15:25:22 -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
df304a7205 Update README.md 2016-01-05 14:11:08 +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
747be9e29e Add .rpx build rule. 2016-01-04 06:35:58 -08:00
James Benton
e781efe156 Update makefile for elf2rpl 2016-01-04 05:46:52 -08:00
James Benton
44225e4c28 Fix LIBRARY_NAME 2016-01-04 05:20:36 -08:00
James Benton
397426de37 Add elf2rpl src. 2016-01-04 13:17:43 +00:00
James Benton
a582c9b61f Reorder symbol/string table entries. 2015-12-28 06:18:48 -08:00
James Benton
086cf3b42f Separate data relocations. 2015-12-28 06:18:35 -08:00
James Benton
fdc0e1ec41 Merge .rplTramp.text into .text section 2015-12-28 06:18:08 -08:00
James Benton
e46445c3ec Set linker page size to reduce padding.
Previously every PHDR had align(0x1000) creating huge amounts of padding.
Changing page size to 64 changes PHDR align to 0x40, reducing elf size.
2015-12-27 20:02:20 -08:00
James Benton
dcee7f253f Cleanup indentation in linker script. 2015-12-27 16:28:29 -08:00
James Benton
8a0c2ed4d1 Cleanup data/rodata sections for C++ objects. 2015-12-27 16:24:14 -08:00
James Benton
2c54b692c3 Split relocation sections between ones used for linking and ones for runtime. 2015-12-27 16:23:48 -08:00
James Benton
b771f474df Remove unnecessary KEEP in linker script. 2015-12-27 16:23:00 -08:00
James Benton
c2c9f05328 Proper PIE for RPL. 2015-12-27 05:45:32 -08:00
James Benton
5e69878ea7 Explicitly align every section. 2015-12-26 18:58:32 -08:00
James Benton
0dba889081 Save the end of fstub section in rpl header. 2015-12-26 18:58:21 -08:00
James Benton
2f06f61f89 Remove deps stuff. 2015-12-26 18:58:07 -08:00
James Benton
f15945afcf Add .gitignore 2015-12-26 18:24:51 -08:00
James Benton
21d044710f Add helloworld sample. 2015-12-26 18:22:53 -08:00
James Benton
756bc99c39 Fix .rodata.rplNames being included in .rodata section. 2015-12-26 18:22:37 -08:00
James
3a32e3383a Update README.md 2015-12-27 02:18:13 +00:00
James
07ed7e9693 Create LICENSE.md 2015-12-27 02:16:34 +00:00
James
f1f54e39ea Create README.md 2015-12-27 02:15:51 +00:00
James Benton
8a9dfb1835 Basic start of a Wii U Toolchain. 2015-12-26 18:10:38 -08:00