2c2ee8bf08
Validate splits don't overlap symbols (or each other)
...
Use DoubleEndedIterator::next_back instead of Iterator::last to avoid unnecessary iteration.
2023-08-15 09:47:00 -04:00
98ab89a1de
Don't relocate against linker symbols for certain relocations
2023-08-10 00:02:28 -04:00
457ee10a42
Emit FORCEACTIVE in LCF & various fixes
2023-08-09 01:24:23 -04:00
d9e1ae2777
MW 2.7 LD compatibility fixes & more
...
- More robust .comment section handling
- Auto-create .comment section for objects with common symbols (MW 2.7+ hack)
- Support loading REL modules in `dol split` (currently only for references)
- Add `dol diff` for quick diffing between linked ELF and expected symbols
- Add `dol apply` for applying linked ELF symbols to symbol config file
2023-08-08 23:34:00 -04:00
5bdffa94c4
Generated TU name adjustments
2023-08-08 01:54:01 -04:00
40786587e3
Support common BSS in update_splits & resolve_link_order
2023-08-07 20:05:57 -04:00
9684701d5b
Include common symbols in ObjSymbols::for_range
2023-08-07 20:05:00 -04:00
a046bf9a66
Updates for build system integration
...
- Use a config file as input to `dol split`
- Add depfile output
- Adjust splits config writing
2023-08-06 15:46:51 -04:00
b9fd6e077a
Remove more unused imports
2023-08-03 19:24:47 -04:00
4ee63abea4
Mark autogenerated splits & rework ObjInfo::add_split
2023-08-03 19:18:20 -04:00
f06a6ffbdd
Ignore ABS symbols in ObjSymbols::for_range
...
- Add ObjSymbols::iter_ordered for all symbols (including ABS)
- Extract duplicated logic into ObjSymbols::for_relocation
2023-08-03 19:04:17 -04:00
8f461b8e0a
Add & use ObjSymbolFlagSet helper functions
2023-08-03 19:00:10 -04:00
bd0422e92a
Migrate argh to argp, topological-sort to petgraph
2023-08-03 18:57:08 -04:00
0fa0aafaea
6 months of occasional work I guess
2023-07-21 17:59:07 -04:00
36e609eab7
Adjust extern relocation warning
2023-01-28 00:18:39 -05:00
4359ec1fa3
Only warn on extabindex relocations
2023-01-27 23:44:06 -05:00
830f7b172f
Reorganize files; start RSO support; config & split updates
2023-01-27 23:15:52 -05:00