27800 Commits

Author SHA1 Message Date
Jakub Konka
82e92fe5f6 macho: fill the rest of ZigObject 2024-01-24 12:34:41 +01:00
Jakub Konka
ee463efdf2 macho: fill in more blanks in ZigObject 2024-01-24 12:34:41 +01:00
Jakub Konka
c98d229844 macho: fill in more blanks in ZigObject 2024-01-24 12:34:41 +01:00
Jakub Konka
6cd4c7612f macho: implement growSection mechanism 2024-01-24 12:34:41 +01:00
Jakub Konka
2169a5559d macho: implement more self-hosted primitives 2024-01-24 12:34:41 +01:00
Jakub Konka
55c8b82b50 macho: set alignment of pre-allocated sections 2024-01-24 12:34:41 +01:00
Jakub Konka
a6ed54ea22 macho: init metadata for incremental linking 2024-01-24 12:34:41 +01:00
Jakub Konka
8c578ba02c macho: add __zig_got section implementation 2024-01-24 12:34:41 +01:00
Jakub Konka
c7de5e5111 macho: re-implement updateDeclCode 2024-01-24 12:34:41 +01:00
Jakub Konka
0b2133d441 macho: init metadata and partially implement updateDecl 2024-01-24 12:34:41 +01:00
Jakub Konka
bd9d8bd462 macho: create Atom for Decl in ZigObject 2024-01-24 12:34:41 +01:00
Jakub Konka
9509fadbe3 macho: split symbol.flags.got into needs_got and has_got 2024-01-24 12:34:41 +01:00
Jakub Konka
b66911370b macho: forward parsed -compatibility_version to the linker 2024-01-24 12:34:41 +01:00
Jakub Konka
8437ba6a79 macho: patch up more holes with ZigObject 2024-01-24 12:34:41 +01:00
Jakub Konka
667af6511f macho: move all unimplemented function stubs into ZigObject 2024-01-24 12:34:40 +01:00
Jakub Konka
6d0ba6dd10 macho: introduce ZigObject 2024-01-24 12:34:40 +01:00
Jakub Konka
03b33b0f01 test/link/macho: migrate all tests to the new test matrix 2024-01-24 12:34:40 +01:00
Jakub Konka
2b3ac3e82f test/link/macho: upgrade tbdv3 test 2024-01-24 12:34:40 +01:00
Jakub Konka
a3f68c6fa2 test/link/macho: upgrade unwind info tests 2024-01-24 12:34:40 +01:00
Jakub Konka
d500caaa62 test/link/macho: test stacksize option 2024-01-24 12:34:40 +01:00
Jakub Konka
b70fedee7e test/link/macho: upgrade search strategy test 2024-01-24 12:34:40 +01:00
Jakub Konka
933231868a test/link/macho: test re-exports in zig 2024-01-24 12:34:40 +01:00
Jakub Konka
7dc6900018 test/link/macho: remove converted standalone tests 2024-01-24 12:34:40 +01:00
Jakub Konka
7bb323c0eb test/link/macho: test pagezero size 2024-01-24 12:34:40 +01:00
Jakub Konka
5c8acc551d test/link/macho: revert testing objc msgsend stubs - no way of enabling in clang 2024-01-24 12:34:40 +01:00
Jakub Konka
000598acc9 test/link/macho: test objc msgsend selector stubs 2024-01-24 12:34:40 +01:00
Jakub Konka
3d835dea2a test/link/macho: use .root_module. instead of wrappers where possible 2024-01-24 12:34:40 +01:00
Jakub Konka
abeb0e3ea4 test/link/macho: test force-loading objects containing ObjC from archives 2024-01-24 12:34:40 +01:00
Jakub Konka
7c65f0be37 test/link/macho: test no exports in a dylib 2024-01-24 12:34:40 +01:00
Jakub Konka
4cf94bb148 test/link/macho: test attribute "used" on vars in presence of dead_strip 2024-01-24 12:34:40 +01:00
Jakub Konka
4dc1907a88 test/link/macho: upgrade strict validation of layout test 2024-01-24 12:34:40 +01:00
Jakub Konka
a25b780aad test/link/macho: upgrade entry and entry in archive tests 2024-01-24 12:34:40 +01:00
Jakub Konka
82a044f4f7 test/link/macho: upgrade empty object test 2024-01-24 12:34:40 +01:00
Jakub Konka
a454ba7908 test/link/macho: upgrade dylib test 2024-01-24 12:34:40 +01:00
Jakub Konka
8105390fff macho: remove all rpath parsing from the linker 2024-01-24 12:34:40 +01:00
Jakub Konka
b1cf6d3103 macho: print all definitions of symbols when printing duplicates 2024-01-24 12:34:40 +01:00
Jakub Konka
181e476915 test/link/macho: upgrade dead_strip_dylibs test 2024-01-24 12:34:40 +01:00
Jakub Konka
b038bcb93b test/link/macho: test -r mode 2024-01-24 12:34:40 +01:00
Jakub Konka
fa161c2059 test/link/macho: test tentative definitions 2024-01-24 12:34:40 +01:00
Jakub Konka
49a4b42995 test/link/macho: upgrade tls test 2024-01-24 12:34:40 +01:00
Jakub Konka
9f0e1ab467 test/link/macho: test thunks on arm64 2024-01-24 12:34:40 +01:00
Jakub Konka
5790e89b5a test/link/macho: test twolevel namespacing 2024-01-24 12:34:40 +01:00
Jakub Konka
fa649cad4e test/link/macho: test large .tbss section 2024-01-24 12:34:40 +01:00
Jakub Konka
9fce2e2233 test/link/macho: test -u flag handling (forceUndefinedSymbol) 2024-01-24 12:34:40 +01:00
Jakub Konka
105655857f test/link/macho: upgrade weak framework test 2024-01-24 12:34:40 +01:00
Jakub Konka
e96f8b817a test/link/macho: upgrade weak library test 2024-01-24 12:34:40 +01:00
Jakub Konka
1e0eb3c809 test/link/macho: test weak binding 2024-01-24 12:34:40 +01:00
Jakub Konka
2c0c86944e test/link/macho: upgrade and migrate headerpad test 2024-01-24 12:34:40 +01:00
Jakub Konka
9533628ca0 test/link/macho: test setting correct weak* flags in the header 2024-01-24 12:34:40 +01:00
Jakub Konka
5142d92c51 test/link/macho: test hello world in C 2024-01-24 12:34:39 +01:00