Nikita Smith
7769a485ba
more merge fixes
2025-06-25 10:53:25 -07:00
Nikita Smith
a5119e3b51
WIP function pad min
2025-06-25 10:53:24 -07:00
Nikita Smith
ecdee57c60
move helpers to COFF layer
2025-06-25 10:53:24 -07:00
Nikita Smith
69d4e31b15
helper for parsing COFF symbols
2025-06-25 10:53:23 -07:00
Nikita Smith
8fad6da751
add support for associative COMDAT symbols
2025-06-25 10:53:23 -07:00
Nikita Smith
2e531cd70a
refactored special case for image base
2025-06-25 10:53:22 -07:00
Nikita Smith
c0613c2a7e
section align fixes
2025-06-25 10:53:22 -07:00
Nikita Smith
a3bcfe01e1
fix signedness issue
2025-06-25 10:53:22 -07:00
Nikita Smith
671431cfbd
remove unused define
2025-06-25 10:53:22 -07:00
Nikita Smith
c98ae0925f
error check relocations
2025-06-25 10:53:22 -07:00
Nikita Smith
ad069cb854
unknown relocation
2025-06-25 10:53:22 -07:00
Nikita Smith
73fe9d223a
handle /ALTERNATENAME directive
2025-06-25 10:53:22 -07:00
Nikita Smith
71596b2f3e
collapse make API for imports
2025-06-25 10:53:22 -07:00
Nikita Smith
65944f0444
clean up pass over COFF writer
2025-06-25 10:53:22 -07:00
Nikita Smith
34a87e7828
create member symbol only for imports with name
2025-06-25 10:53:22 -07:00
Nikita Smith
f467ff8822
WIP move export and import table make code to appropriate layers
2025-06-25 10:53:22 -07:00
Nikita Smith
69d5010245
WIP switching to creating import table objs
2025-06-25 10:53:22 -07:00
Nikita Smith
1b21d0709f
return symbol for pushed lib member
2025-06-25 10:53:22 -07:00
Nikita Smith
c5164bd490
discard null data nodes
2025-06-25 10:53:22 -07:00
Nikita Smith
3ffd8c19ea
helper for querying machine specific relocation for virtual offset relocation
2025-06-25 10:53:22 -07:00
Nikita Smith
f37f94a2b9
minor fixes
2025-06-25 10:53:22 -07:00
Nikita Smith
35e6b4a9f9
linker directive header fix
2025-06-25 10:53:22 -07:00
Nikita Smith
120829095b
COFF lib writer
2025-06-25 10:53:22 -07:00
Nikita Smith
0f81aae985
extend COFF obj writer with ability to produce linker directive section
2025-06-25 10:53:22 -07:00
Nikita Smith
b0a652b10b
helpers for parsing aux COFF symbols
2025-06-25 10:53:22 -07:00
Nikita Smith
f81bab5a4c
remove special sort postfix case
2025-06-25 10:53:22 -07:00
Nikita Smith
63a374cf54
simplify COFF reloc apply helper
2025-06-25 10:53:22 -07:00
Nikita Smith
e9d5022a55
test section sorter
2025-06-25 10:53:21 -07:00
Nikita Smith
f39397fa78
test cycles made from weak symbols
2025-06-25 10:53:21 -07:00
Nikita Smith
2c6db1b566
update COFF type enum strings
2025-06-25 10:53:21 -07:00
Nikita Smith
c2a0a6f1e1
factored out format specific relocation code to COFF layer
2025-06-25 10:53:21 -07:00
Nikita Smith
b9768be4ed
tester for linkers
2025-06-25 10:53:21 -07:00
Nikita Smith
19a7ada1dc
make export table with COFF obj writer,
...
partially converted import table to COFF obj writer
2025-06-25 10:53:21 -07:00
Nikita Smith
3a2bb318c7
make import lib objs with COFF obj writer
2025-06-25 10:53:21 -07:00
Nikita Smith
c45088b546
replaced dependency on linker's chunking for resource serialization
...
with COFF obj writer
2025-06-25 10:53:21 -07:00
Ryan Fleury
248a155579
checkpoint on dump parseability pass
2025-06-19 16:48:07 -07:00
Ryan Fleury
058c1454e2
eliminate all extra enums files for formats
2025-06-19 07:25:35 -07:00
Ryan Fleury
94b969f203
copyright year
2025-06-02 14:13:57 -07:00
Nikita Smith
8beb168905
went over COFF string table and changed the parser code accept to String8
2025-04-04 15:45:51 -07:00
Nikita Smith
1c518bfa07
prefix COFF machine enums with "Type"
2025-03-31 22:53:10 -07:00
Ryan Fleury
a826afd4d6
merge part 2
2025-03-25 16:30:05 -07:00
Nikita Smith
8a8a8bcc8d
resource id compar typo
2025-02-25 14:41:34 -08:00
Ryan Fleury
33326a8fa6
fix breakpad converter build
2025-02-23 14:18:12 -08:00
Nikita Smith
d9874e8f2f
bugfix resource compar
2025-02-02 00:06:07 -08:00
Nikita Smith
76b83794b2
added printer for .res files
2025-02-01 23:50:30 -08:00
Nikita Smith
85ea141b83
minor fixes
2025-01-20 21:53:45 -08:00
Nikita Smith
153bbc7b1d
pass over COFF layer
...
- updated naming convention on structs, enums, and macros to conform with code base style
- moved related structs closer to each other
- moved parser code to separate file
2025-01-20 19:31:52 -08:00
Nikita Smith
a1d5837ff3
helpers for matching string literals
2025-01-18 17:39:11 -08:00
Nikita Smith
c000817b9a
pass over COFF symbol parser
2025-01-16 13:43:19 -08:00
Nikita Smith
190eb03ff3
removed default lib directive parser, moved directive code to obj file,
...
getting ready to deprecate LNK_Directive struct
2025-01-15 14:03:40 -08:00