Commit graph

48 commits

Author SHA1 Message Date
galaxyhaxz
4005272465 Use same placeholder size for headers, too 2025-03-13 17:44:25 -05:00
galaxyhaxz
bfd87197bf Fix alignment in logging of psqy-obj-parser 2025-03-13 02:07:48 -05:00
Nicolas 'Pixel' Noble
f3bc00d969 Stabilizing the order of symbols and sections + various other fixes. 2025-03-12 18:31:05 -07:00
galaxyhaxz
3f77d56f41 Support gp relocations for asn 2.5x 2025-03-11 20:25:00 -05:00
NotExactlySiev
802200895b Fix magic enum include 2025-02-09 22:58:26 +03:30
Nicolas Noble
be89961d00
Merge pull request #1557 from nicolasnoble/psyq-parser-hi16-adjust
Properly adjusting hi16's addend relocation.
2024-05-15 19:16:47 -07:00
Jean-Baptiste Boric
0ded6c7f3f psyq-obj-parser: fix HI16 relocations with large addends 2024-05-13 16:34:59 +02:00
emoose
de0499ba17
psyq-obj-parser: add INC_SLD_LINENUM_BY_WORD opcode 2024-05-02 03:12:06 +01:00
Nicolas Pixel Noble
2bd37ecfad Updating magic enum. 2024-03-01 20:49:25 -08:00
Nicolas Pixel Noble
927de41c62 Properly adjusting hi16's addend relocation. 2024-01-25 23:15:25 -08:00
Nicolas Pixel Noble
aa775e125c Silencing warning. 2023-11-27 19:07:16 -08:00
Nicolas Pixel Noble
ee93048811 Flagging "undefined" symbols as weak. 2023-11-27 19:07:09 -08:00
Nicolas Pixel Noble
9453f17b2c Handling psyq "from end" relocation type. 2023-11-26 20:37:08 -08:00
Nicolas Pixel Noble
af3bb7935d Update ELFIO 2023-06-06 17:42:50 -07:00
Nicolas Pixel Noble
a1a7cf76f3 Loosening HI/LO+addend restrictions on psyq-obj-parser.
Hopefully fixes #1225.
2023-02-27 22:00:41 -08:00
Mark Street
1edc1861b9 merging wiseguy changes 2022-10-22 10:38:35 +01:00
Mark Street
27b8733fbc psyq-obj-parser - print errors to stderr and return nonzero on failure 2022-07-30 10:26:07 +01:00
Nicolas Pixel Noble
6d923583ab More warning cleanups. 2022-06-25 18:57:24 -07:00
Nicolas Pixel Noble
e5f61eb603 Updating fmt. 2022-04-18 20:46:46 -07:00
Nicolas Pixel Noble
d23947bb8b Lots of refactoring
- IO wrapper class
- SubFile
- Lots of small fixes
2022-02-26 20:21:15 -08:00
Nicolas Pixel Noble
70964db5ab File API refactoring. 2022-02-21 00:23:02 -08:00
Solid Snake
7d5c33cf22 should be alignment that matches psylink now 2022-02-11 00:10:52 +00:00
Solid Snake
57486c49df Correct sbss/bss symbol alignment to use the type size rather than section size or hard coded value of 4. 2022-02-10 19:43:12 +00:00
Solid Snake
a770cb75cb Fix R_MIPS_GPREL16 by setting the correction section attributes. Fix .bss and .sbss symbol offsets. 2022-02-10 10:22:45 +00:00
Nicolas Noble
e2fb6e6ba1
Merge pull request #722 from paulsapps/main
Allow building psyq-obj-parser.cc on its own more easily
2022-02-04 22:19:38 -08:00
Solid Snake
03f1dc4577 Allow building psyq-obj-parser.cc on its own more easily 2022-02-04 00:34:13 +00:00
Mark Street
b431c48411 Additional opcodes 2022-01-25 23:22:05 +00:00
Mark Street
45035e788c Add new opcodes to psyq-obj-parser, treat functions as STT_FUNC, fix reloc offset 2022-01-23 23:06:40 +00:00
wheremyfoodat
98effe859b Address more comments 2021-11-15 21:22:24 +02:00
Nicolas Pixel Noble
63327be3d0 Properly generating offsets from beginning of subsections. 2021-02-07 01:27:14 -08:00
Nicolas 'Pixel' Noble
64942d0857 Some fixes / improvements on psyq-obj-parser. 2021-02-06 21:21:02 -08:00
Nicolas 'Pixel' Noble
2fd760d2c8 Fixing missing edge case relocation. 2020-08-26 17:41:36 -07:00
Nicolas 'Pixel' Noble
aff04e3852 Forcing alignment on bss variables. 2020-07-08 20:25:22 -07:00
Nicolas 'Pixel' Noble
e73f914094 Trying to address BSS / UNINITIALIZED mix up 2020-07-02 09:04:52 -07:00
Nicolas 'Pixel' Noble
5323763128 Cleanup. 2020-06-27 12:19:32 -07:00
Nicolas 'Pixel' Noble
b965fa7b21 Fixing datastream properly. 2020-06-27 00:04:39 -07:00
Nicolas 'Pixel' Noble
b7d2cea340 Fixing symtab section info. 2020-06-26 20:12:29 -07:00
Nicolas 'Pixel' Noble
02715670c9 Adding two-pass relocation system. 2020-06-26 19:42:46 -07:00
Nicolas 'Pixel' Noble
b6bbb216ca Few fixes, and adding basic test. 2020-06-25 19:46:33 -07:00
Nicolas 'Pixel' Noble
68eb449b54 Few more relocations. 2020-06-24 23:14:10 -07:00
Nicolas 'Pixel' Noble
59e81fe082 Some more relocations. 2020-06-24 21:22:39 -07:00
Nicolas 'Pixel' Noble
1834e1ee6e Night progress towards relocations. 2020-06-24 00:02:06 -07:00
Nicolas 'Pixel' Noble
dbc83d4bf0 Some cleanup / fixes. 2020-06-23 21:19:14 -07:00
Nicolas 'Pixel' Noble
a08475f264 Progress with the elf writer. 2020-06-22 23:49:41 -07:00
Nicolas 'Pixel' Noble
1af660c59c Adding display command. 2020-06-22 17:02:50 -07:00
Nicolas 'Pixel' Noble
62a3ca7926 Cleanup. 2020-06-22 00:49:13 -07:00
Nicolas 'Pixel' Noble
13bf02f183 Parsing data in memory. 2020-06-22 00:00:49 -07:00
Nicolas 'Pixel' Noble
e87eacf293 Adding psyq-obj-parser as a tool. 2020-06-21 11:06:19 -07:00