aboutsummaryrefslogtreecommitdiff
path: root/src/link/MachO/InternalObject.zig
AgeCommit message (Collapse)Author
2025-09-30fix compiler ftbfs from std.macho and std.dwarf changesmlugg
2025-08-31std.fmt: delete deprecated APIsAndrew Kelley
std.fmt.Formatter -> std.fmt.Alt std.fmt.format -> std.Io.Writer.print
2025-08-29std.Io: delete GenericReaderAndrew Kelley
and delete deprecated alias std.io
2025-08-28link.MachO: update to not use GenericWriterAndrew Kelley
2025-08-11std.ArrayList: make unmanaged the defaultAndrew Kelley
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
2025-01-15macho linker: conform to explicit error setsAndrew Kelley
Makes linker functions have small error sets, required to report diagnostics properly rather than having a massive error set that has a lot of codes. Other linker implementations are not ported yet. Also the branch is not passing semantic analysis yet.
2024-10-09macho: fix a typo in InternalObject.addObjcMethnameSectionJakub Konka
2024-10-09macho: report special symbols if undefinedJakub Konka
Special symbols include explictly force undefined symbols passed via -u flag, missing entry point symbol, missing 'dyld_stub_binder' symbol, or missing '_objc_msgsend' symbol.
2024-09-12Replace deprecated default initializations with decl literalsLinus Groh
2024-08-28std: update `std.builtin.Type` fields to follow naming conventionsmlugg
The compiler actually doesn't need any functional changes for this: Sema does reification based on the tag indices of `std.builtin.Type` already! So, no zig1.wasm update is necessary. This change is necessary to disallow name clashes between fields and decls on a type, which is a prerequisite of #9938.
2024-07-30elf: move ownership of atoms into objectsJakub Konka
2024-07-27macho: fix typo in boundary symbol tag: $stop -> $endJakub Konka
2024-07-22macho: cache string lenJakub Konka
2024-07-22macho: run more things in parallelJakub Konka
2024-07-18macho: fix 32bit compilation issuesJakub Konka
2024-07-18macho: clean up atom+symbol creation logic in ZigObjectJakub Konka
2024-07-18macho: fix compile errorsJakub Konka
2024-07-18macho: migrate Atom and SymbolJakub Konka
2024-07-18macho: migrate InternalObject and DylibJakub Konka
2024-07-18macho: remove obsolete field from InternalObjectJakub Konka
2024-05-23link/macho: fix 32bit buildJakub Konka
2024-05-23link/macho: ensure we set alignment of literals to max alignmentJakub Konka
2024-05-23link/macho: apply fixes to deduping logicJakub Konka
* test non-ObjC literal deduping logic
2024-05-23link/macho: dedup literals in objects and internal object fileJakub Konka
2024-04-22link/macho: introduce Atom extras for out-of-band dataJakub Konka
2024-02-26macho: count rebases for synthetic __objc_selrefsJakub Konka
2024-01-29macho: re-enable dSYM but don't write anything to it yetJakub Konka
2024-01-28macho: fix 32bit buildsJakub Konka
2024-01-28macho: do not allocate input files in fullJakub Konka
2024-01-24macho: sort sections; use Atom.Alignment for alignment; init segmentsJakub Konka
2024-01-24macho: resolve synthetic symbolsJakub Konka
2024-01-24macho: copy over new implementation sources from zldJakub Konka