aboutsummaryrefslogtreecommitdiff
path: root/src/link/MachO/synthetic.zig
AgeCommit message (Collapse)Author
2025-11-20update deprecated ArrayListUnmanaged usage (#25958)Benjamin Jurk
2025-08-31std.fmt: delete deprecated APIsAndrew Kelley
std.fmt.Formatter -> std.fmt.Alt std.fmt.format -> std.Io.Writer.print
2025-08-28link.MachO: update to not use GenericWriterAndrew Kelley
2025-07-22aarch64: add new from scratch self-hosted backendJacob Young
2025-07-07MachO: revert unfinished changesAndrew Kelley
2025-07-07MachO: update to new std.io APIsAndrew Kelley
2025-02-22link.MachO: Add support for the -x flag (discard local symbols).Alex Rønne Petersen
This can also be extended to ELF later as it means roughly the same thing there. This addresses the main issue in #21721 but as I don't have a macOS machine to do further testing on, I can't confirm whether zig cc is able to pass the entire cgo test suite after this commit. It can, however, cross-compile a basic program that uses cgo to x86_64-macos-none which previously failed due to lack of -x support. Unlike previously, the resulting symbol table does not contain local symbols (such as C static functions). I believe this satisfies the related donor bounty: https://ziglang.org/news/second-donor-bounty
2024-09-12Replace deprecated default initializations with decl literalsLinus Groh
2024-08-29compiler: avoid field/decl name conflictsmlugg
Most of the required renames here are net wins for readaibility, I'd say. The ones in `arch` are a little more verbose, but I think better. I didn't bother renaming the non-conflicting functions in `arch/arm/bits.zig` and `arch/aarch64/bits.zig`, since these backends are pretty bit-rotted anyway AIUI.
2024-08-17macho: update codegen and linker to distributed jump table approachJakub Konka
2024-07-22macho: run more things in parallelJakub Konka
2024-07-18macho: fix emitting data-in-code entriesJakub Konka
2024-07-18macho: link hello world in zig compiled with llvmJakub Konka
2024-07-18macho: fix compile errorsJakub Konka
2024-07-18macho: migrate synthetic sectionsJakub Konka
2024-07-18macho: revamp how we compute dyld relocsJakub Konka
2024-04-20link/elf: implement string mergingJakub Konka
2024-03-15macho: fix a sad typo in calculating the address of a TLV pointerJakub Konka
2024-03-08link: refactor common aarch64 helpersJakub Konka
2024-02-21link: introduce common set of aarch64 abstractionsJakub Konka
2024-01-24macho: clean up logic for deciding if needs __stub_helperJakub Konka
2024-01-24macho: add misc fixes targeting macos 11Jakub Konka
2024-01-24macho: reserve space for __got_zig rebase opcodesJakub Konka
2024-01-24macho: again fix symbol index dereference in codegen wrt ZigObjectJakub Konka
2024-01-24macho: add __zig_got section implementationJakub Konka
2024-01-24macho: split symbol.flags.got into needs_got and has_gotJakub Konka
2024-01-24macho: parse an input object file!Jakub Konka
2024-01-24macho: copy over new implementation sources from zldJakub Konka