aboutsummaryrefslogtreecommitdiff
path: root/src/link/MachO/Relocation.zig
AgeCommit message (Collapse)Author
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-07-07compiler: update all instances of std.fmt.FormatterAndrew Kelley
2025-07-07MachO: update to new std.io APIsAndrew Kelley
2024-08-17macho: update codegen and linker to distributed jump table approachJakub Konka
2024-07-18macho: bring back parts of arJakub Konka
2024-07-18macho: migrate Relocation structJakub Konka
2024-05-23link/macho: print error message when hitting unexpected remainder errorJakub Konka
2024-02-21link: introduce common set of aarch64 abstractionsJakub Konka
2024-02-03macho: fix remaining references to Atom.valueJakub Konka
2024-01-24macho: resolve relocs pointing at __got_zigJakub Konka
2024-01-24codegen: re-implement enough of codegen to error out instead panicJakub Konka
2024-01-24macho: copy over new implementation sources from zldJakub Konka
2024-01-01linker: update target referencesAndrew Kelley
2023-10-31std.builtin.Endian: make the tags lower caseAndrew Kelley
Let's take this breaking change opportunity to fix the style of this enum.
2023-10-31mem: fix ub in writeIntJacob Young
Use inline to vastly simplify the exposed API. This allows a comptime-known endian parameter to be propogated, making extra functions for a specific endianness completely unnecessary.
2023-10-30macho: implement enough of extern handling to pass comptime export testsJakub Konka
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