aboutsummaryrefslogtreecommitdiff
path: root/src/link
AgeCommit message (Collapse)Author
2024-01-25macho: try frameworks before libs non-exclusiveJakub Konka
2024-01-25macho: print tried paths for unresolved dylib depsJakub Konka
2024-01-24macho: set __DATA_CONST* segments flags to SG_READ_ONLYJakub 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: set filename as ident in code signatureJakub Konka
2024-01-24macho: skip -r when single input object fileJakub Konka
This is to ensure we don't unnecessarily strip debug info from the final relocatable input file, so just copy the file out for now.
2024-01-24macho: exclude symbols from empty sections when parsing unwind infoJakub Konka
2024-01-24macho: synthesise unwind records from __eh_frame even if no __compact_unwindJakub Konka
2024-01-24macho: allocate segments in sep step and tweak sorting logicJakub Konka
2024-01-24macho: fix 32bit compilation issuesJakub Konka
2024-01-24macho: do not enforce platform check for nowJakub Konka
2024-01-24macho: ensure we zero-out regions after copying them overJakub Konka
This is to ensure that the loader correctly zeroes-out zerofill sections when mapping them. For context, Apple's loader dyld will map the regions where any zerofill would theoretically reside as belonging to zerofill section.
2024-01-24macho: actually lower TLS variablesJakub Konka
2024-01-24macho: fix wrong symbol type for TLV varsJakub Konka
2024-01-24x86_64: emit MachO TLV sequenceJakub Konka
2024-01-24macho: save TLS variables in ZigObjectJakub Konka
2024-01-24macho: get start index of Zig sections when allocating other sectionsJakub Konka
2024-01-24macho: prep for lowering TLS variablesJakub Konka
2024-01-24macho: get rid of allocateSegmentsJakub Konka
2024-01-24macho: move incr Zig sections in file if overlap nonincr sectionsJakub Konka
2024-01-24macho: refactor segment creation logicJakub Konka
2024-01-24macho: fix not resetting __got_zig sect index after sorting headersJakub Konka
2024-01-24macho: resolve relocs pointing at __got_zigJakub Konka
2024-01-24macho: re-read atom code from ZigObject when resolving relocsJakub Konka
2024-01-24macho: reserve space for __got_zig rebase opcodesJakub Konka
2024-01-24macho: allocate __LINKEDIT in a separate passJakub Konka
2024-01-24macho: init linkedit segment separatelyJakub Konka
2024-01-24macho: allocate sections and segments that need itJakub Konka
2024-01-24macho: fix '_' prefixing rules for exportsJakub Konka
2024-01-24macho: again fix symbol index dereference in codegen wrt ZigObjectJakub Konka
2024-01-24macho: fix symbol index dereference in codegen wrt ZigObjectJakub Konka
This is incredibly confusing and I really need to simplify it. Elf also possesses this shortcoming so once I get Coff up to speed it should hopefully become clear on how to refactor this.
2024-01-24macho: implement resolveSymbols in ZigObjectJakub Konka
2024-01-24macho: set atom_index for newly created Atom in ZigObjectJakub Konka
2024-01-24macho: let us dump some state and debug!Jakub Konka
2024-01-24macho: implement ZigObject.flushModuleJakub Konka
2024-01-24codegen: re-implement enough of codegen to error out instead panicJakub Konka
2024-01-24macho: fill the rest of ZigObjectJakub Konka
2024-01-24macho: fill in more blanks in ZigObjectJakub Konka
2024-01-24macho: fill in more blanks in ZigObjectJakub Konka
2024-01-24macho: implement growSection mechanismJakub Konka
2024-01-24macho: implement more self-hosted primitivesJakub Konka
2024-01-24macho: set alignment of pre-allocated sectionsJakub Konka
2024-01-24macho: init metadata for incremental linkingJakub Konka
2024-01-24macho: add __zig_got section implementationJakub Konka
2024-01-24macho: re-implement updateDeclCodeJakub Konka
2024-01-24macho: init metadata and partially implement updateDeclJakub Konka
2024-01-24macho: create Atom for Decl in ZigObjectJakub Konka
2024-01-24macho: split symbol.flags.got into needs_got and has_gotJakub Konka
2024-01-24macho: patch up more holes with ZigObjectJakub Konka