Commits
macho: implement growSection mechanism
6cd4c7612f • Jakub Konka • Jan 24, 2024
macho: implement more self-hosted primitives
2169a5559d • Jakub Konka • Jan 24, 2024
macho: set alignment of pre-allocated sections
55c8b82b50 • Jakub Konka • Jan 24, 2024
macho: init metadata for incremental linking
a6ed54ea22 • Jakub Konka • Jan 24, 2024
macho: add __zig_got section implementation
8c578ba02c • Jakub Konka • Jan 24, 2024
macho: re-implement updateDeclCode
c7de5e5111 • Jakub Konka • Jan 24, 2024
macho: init metadata and partially implement updateDecl
0b2133d441 • Jakub Konka • Jan 24, 2024
macho: create Atom for Decl in ZigObject
bd9d8bd462 • Jakub Konka • Jan 24, 2024
macho: split symbol.flags.got into needs_got and has_got
9509fadbe3 • Jakub Konka • Jan 24, 2024
macho: forward parsed -compatibility_version to the linker
b66911370b • Jakub Konka • Jan 24, 2024
macho: patch up more holes with ZigObject
8437ba6a79 • Jakub Konka • Jan 24, 2024
macho: move all unimplemented function stubs into ZigObject
667af6511f • Jakub Konka • Jan 24, 2024
macho: introduce ZigObject
6d0ba6dd10 • Jakub Konka • Jan 24, 2024
test/link/macho: migrate all tests to the new test matrix
03b33b0f01 • Jakub Konka • Jan 24, 2024
test/link/macho: upgrade tbdv3 test
2b3ac3e82f • Jakub Konka • Jan 24, 2024
test/link/macho: upgrade unwind info tests
a3f68c6fa2 • Jakub Konka • Jan 24, 2024
test/link/macho: test stacksize option
d500caaa62 • Jakub Konka • Jan 24, 2024
test/link/macho: upgrade search strategy test
b70fedee7e • Jakub Konka • Jan 24, 2024
test/link/macho: test re-exports in zig
933231868a • Jakub Konka • Jan 24, 2024
test/link/macho: remove converted standalone tests
7dc6900018 • Jakub Konka • Jan 24, 2024
test/link/macho: test pagezero size
7bb323c0eb • Jakub Konka • Jan 24, 2024
test/link/macho: revert testing objc msgsend stubs - no way of enabling in clang
5c8acc551d • Jakub Konka • Jan 24, 2024
test/link/macho: test objc msgsend selector stubs
000598acc9 • Jakub Konka • Jan 24, 2024
test/link/macho: use .root_module. instead of wrappers where possible
3d835dea2a • Jakub Konka • Jan 24, 2024
test/link/macho: test force-loading objects containing ObjC from archives
abeb0e3ea4 • Jakub Konka • Jan 24, 2024
test/link/macho: test no exports in a dylib
7c65f0be37 • Jakub Konka • Jan 24, 2024
test/link/macho: test attribute "used" on vars in presence of dead_strip
4cf94bb148 • Jakub Konka • Jan 24, 2024
test/link/macho: upgrade strict validation of layout test
4dc1907a88 • Jakub Konka • Jan 24, 2024
test/link/macho: upgrade entry and entry in archive tests
a25b780aad • Jakub Konka • Jan 24, 2024
test/link/macho: upgrade empty object test
82a044f4f7 • Jakub Konka • Jan 24, 2024
test/link/macho: upgrade dylib test
a454ba7908 • Jakub Konka • Jan 24, 2024
macho: remove all rpath parsing from the linker
8105390fff • Jakub Konka • Jan 24, 2024
macho: print all definitions of symbols when printing duplicates
b1cf6d3103 • Jakub Konka • Jan 24, 2024
test/link/macho: upgrade dead_strip_dylibs test
181e476915 • Jakub Konka • Jan 24, 2024
test/link/macho: test -r mode
b038bcb93b • Jakub Konka • Jan 24, 2024
test/link/macho: test tentative definitions
fa161c2059 • Jakub Konka • Jan 24, 2024
test/link/macho: upgrade tls test
49a4b42995 • Jakub Konka • Jan 24, 2024
test/link/macho: test thunks on arm64
9f0e1ab467 • Jakub Konka • Jan 24, 2024
test/link/macho: test twolevel namespacing
5790e89b5a • Jakub Konka • Jan 24, 2024
test/link/macho: test large .tbss section
fa649cad4e • Jakub Konka • Jan 24, 2024
test/link/macho: test -u flag handling (forceUndefinedSymbol)
9fce2e2233 • Jakub Konka • Jan 24, 2024
test/link/macho: upgrade weak framework test
105655857f • Jakub Konka • Jan 24, 2024
test/link/macho: upgrade weak library test
e96f8b817a • Jakub Konka • Jan 24, 2024
test/link/macho: test weak binding
1e0eb3c809 • Jakub Konka • Jan 24, 2024
test/link/macho: upgrade and migrate headerpad test
2c0c86944e • Jakub Konka • Jan 24, 2024
test/link/macho: test setting correct weak* flags in the header
9533628ca0 • Jakub Konka • Jan 24, 2024
test/link/macho: test hello world in C
5142d92c51 • Jakub Konka • Jan 24, 2024
test/link/macho: test hello world in Zig
0cc4dc615b • Jakub Konka • Jan 24, 2024
test/link/macho: test for correct handling of large __bss sections
bf285c7e40 • Jakub Konka • Jan 24, 2024
test/link/macho: test for correct handling of __mh_execute_header symbol
faa1849f81 • Jakub Konka • Jan 24, 2024
test/link/macho: upgrade and migrate needed_library test
49c11e0c34 • Jakub Konka • Jan 24, 2024
test/link/link: pass build options to elf and macho tests
d93a0763d4 • Jakub Konka • Jan 24, 2024
test/link/macho: test segment boundary symbols
041f7d69f0 • Jakub Konka • Jan 24, 2024
test/link/macho: fix naming in entry-in-dylib test
ffd7f7f642 • Jakub Konka • Jan 24, 2024
test/link/macho: upgrade and migrate dead_strip test
6cdcf61a5c • Jakub Konka • Jan 24, 2024
test/link/elf: make invalid input file test less janky
aa50bca151 • Jakub Konka • Jan 24, 2024
macho: fix invalid generation of FDE records
56303d770e • Jakub Konka • Jan 24, 2024
test/link/macho: migrate entry_in_dylib test to new test format
11524e4d0c • Jakub Konka • Jan 24, 2024
macho: preserve section name for code sections
0a60e4448d • Jakub Konka • Jan 24, 2024
macho: fix section boundary symbols test
ee68f35bfe • Jakub Konka • Jan 24, 2024
macho: parse dependent dylibs
ee7a027059 • Jakub Konka • Jan 24, 2024
macho: fix dead stripping logic to exclude debug sections
ef9aea75d0 • Jakub Konka • Jan 24, 2024
macho: re-instate build-obj codepath
10a5536a7c • Jakub Konka • Jan 24, 2024
macho: report duplicate symbols
c2a0a88284 • Jakub Konka • Jan 24, 2024
macho: write to file
3968aea8ec • Jakub Konka • Jan 24, 2024
macho: allocate sections, segments and atoms
98d6d40cd6 • Jakub Konka • Jan 24, 2024
macho: sort sections; use Atom.Alignment for alignment; init segments
32ebceea95 • Jakub Konka • Jan 24, 2024
macho: init output and synthetic sections
0b2231998f • Jakub Konka • Jan 24, 2024
macho: report undefined symbols to the user
f0119ce373 • Jakub Konka • Jan 24, 2024
macho: set dylib ordinals after pruning
40e1bb11f8 • Jakub Konka • Jan 24, 2024
macho: dead strip dylibs
eca9bc4c33 • Jakub Konka • Jan 24, 2024
macho: mark imports and exports
b28ff75f5d • Jakub Konka • Jan 24, 2024
macho: handle dead stripping of atoms
b0327ff233 • Jakub Konka • Jan 24, 2024
macho: claim unresolved symbols
21e3bb38af • Jakub Konka • Jan 24, 2024
macho: convert tentative defs and create objc sections
1b76779857 • Jakub Konka • Jan 24, 2024
macho: resolve synthetic symbols
6b617afe2a • Jakub Konka • Jan 24, 2024
macho: resolve symbols and mark files live
8a1311733b • Jakub Konka • Jan 24, 2024
macho: init InternalObject and add forced undefined globals
b8f67d7985 • Jakub Konka • Jan 24, 2024
macho: prep for dylib deps (no resolution yet)
8c7a34ae68 • Jakub Konka • Jan 24, 2024
macho: parse tbds
c023b762cd • Jakub Konka • Jan 24, 2024
macho: parse dylibs
d153bc2f0c • Jakub Konka • Jan 24, 2024
macho: parse archives
c5e509595a • Jakub Konka • Jan 24, 2024
macho: create scaffolding for parsing different input objects
d05e9c3792 • Jakub Konka • Jan 24, 2024
macho: parse an input object file!
0c171afab0 • Jakub Konka • Jan 24, 2024
macho: re-enable --verbose-link
7588eeccea • Jakub Konka • Jan 24, 2024
macho: get the ball rolling!
dd0addab1f • Jakub Konka • Jan 24, 2024
macho: copy over new implementation sources from zld
2f94dc939e • Jakub Konka • Jan 24, 2024
Merge pull request #17155 from winterqt/ignore-nix-ldflags-linkage-directives
92211135f1 • Andrew Kelley • Jan 24, 2024
Revert "Don't assume a write if an operand is not in function parameters"
9d5a133f18 • Andrew Kelley • Jan 24, 2024
Don't assume a write if an operand is not in function parameters
2ab78937dd • Rahul Prabhu • Jan 24, 2024
os.windows: Fix error 258 name in Win32Error
eff58d6c18 • Krzysztof Wolicki • Jan 24, 2024
std.fmt: fix unecessary deref on user-defined format function
993a83081a • Khang Nguyen Duy • Jan 23, 2024
Sema: use Sema.typeAbiSize rather than Type.abiSize
aef1da1634 • Andrew Kelley • Jan 23, 2024
std.process: return u64 in totalSystemMemory
c0e0bb385c • Tristan Ross • Jan 23, 2024
objcopy ofmt=hex iterates through segments instead of sections
68ea1121fc • jacwil • Jan 23, 2024
Sema: implement comptime error return traces
eeec34ccb6 • Veikka Tuominen • Jan 23, 2024
Fix wrong if condition for windows (#18637)
9e684e8d1a • ndbn • Jan 22, 2024
Free threads in std.Thread.Pool.init only with pool.join
3331c5e7af • Littleote • Jan 22, 2024
std.io: replace readStructBig with readStructEndian
d0da3d731e • Tristan Ross • Jan 22, 2024
Merge pull request #18644 from ziglang/langref
b0c8a3f316 • Andrew Kelley • Jan 22, 2024