aboutsummaryrefslogtreecommitdiff
path: root/src/link/MachO/Relocation.zig
AgeCommit message (Collapse)Author
2023-08-29macho: use TableSection for stub entries in zld driverJakub Konka
Write thunks separately from other atoms - this can still be improved by not using atoms at all, but one thing at a time.
2023-06-24all: migrate code to new cast builtin syntaxmlugg
Most of this migration was performed automatically with `zig fmt`. There were a few exceptions which I had to manually fix: * `@alignCast` and `@addrSpaceCast` cannot be automatically rewritten * `@truncate`'s fixup is incorrect for vectors * Test cases are not formatted, and their error locations change
2023-04-26macho: invalidate GOT/stub relocs after segment shift in memoryJakub Konka
2023-04-21macho: skip GOT for TLVs; handle them separately when loweringJakub Konka
2023-04-21macho: do not allocate atoms for stub entriesJakub Konka
2023-04-21macho: use generic TableSection for GOT mgmtJakub Konka
2023-04-13macho: reference TLV thunks via GOT tableJakub Konka
2023-04-13macho: emit TLV pointers and variablesJakub Konka
2023-04-13macho: refactor common logic between synthetic tablesJakub Konka
2023-04-13macho: add machinery for emitting TLV refsJakub Konka
2023-04-13macho: refactor relocation type in incremental linkerJakub Konka
2023-04-05macho: reapply relocation dirtying logic from coff linkerJakub Konka
2023-03-28macho: remove error_union return from resolveRelocations()Jakub Konka
2023-03-18macho: add hot-code swapping pocJakub Konka
2023-01-31link: make MachO atoms fully owned by the linkerJakub Konka
2022-11-18run zig fmt on everything checked by CIStevie Hryciw
2022-10-22macho: upstream rewritten traditional linker, zldJakub Konka
kubkon/zld gitrev 5733ed87abe2f07e1330c3232a252e9defec638a
2022-09-18macho: allow for add and ldr when resolving GOT_LOAD_* relocsJakub Konka
2022-09-18macho: rewrite how we allocate space in incremental contextJakub Konka
2022-09-18macho: move to incremental writes and global relocs for incrementalJakub Konka
2022-09-18macho: separate in structure and logic incremental relocs and file relocsJakub Konka