aboutsummaryrefslogtreecommitdiff
path: root/src/link/MachO/eh_frame.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-29std.Io: delete CountingReaderAndrew Kelley
2025-08-11std.ArrayList: make unmanaged the defaultAndrew Kelley
2025-07-07compiler: update all instances of std.fmt.FormatterAndrew Kelley
2025-07-07MachO: revert unfinished changesAndrew Kelley
2025-07-07MachO: update to new std.io APIsAndrew Kelley
2024-08-30dwarf: share and use `std.dwarf.EH_PE` constantsJacob Young
2024-07-18macho: migrate eh_frame moduleJakub Konka
2024-06-23Rename *[UI]LEB128 functions to *[UI]leb128Michael Bradshaw
2024-02-03macho: fix remaining references to Atom.valueJakub Konka
2024-01-24macho: fix invalid generation of FDE recordsJakub Konka
2024-01-24macho: write to fileJakub Konka
2024-01-24macho: sort sections; use Atom.Alignment for alignment; init segmentsJakub Konka
2024-01-24macho: parse an input object file!Jakub Konka
2024-01-24macho: get the ball rolling!Jakub Konka
2024-01-24macho: copy over new implementation sources from zldJakub Konka
2024-01-01fix remaining compile errors except oneAndrew Kelley
2024-01-01linker: update target referencesAndrew Kelley
2023-11-19compiler: correct unnecessary uses of 'var'mlugg
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-08-30macho: report basic __eh_frame problems as errorsJakub Konka
2023-08-30macho: remove obsolete error.FailedToResolveRelocationTargetJakub Konka
2023-08-29macho: merge Zld state with MachO stateJakub Konka
2023-08-29macho: save indexes to all sections of interestJakub 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-08-29macho: use TableSection for GOT entries in zld driverJakub Konka
2023-08-29macho: unify Atom concept between driversJakub Konka
2023-08-29macho: unify concept of SymbolWithLoc across driversJakub Konka
2023-08-02macho: track unwind/dwarf cfi records by symbol rather than atomJakub Konka
This solves the nuance case of compiling hand-crafted assembly files which do not feature `MH_SUBSECTIONS_VIA_SYMBOLS` flag resulting in input `Atom`s encompassing multiple symbols each with unique unwind information.
2023-06-25macho: add fixes to __eh_frame parsing emitted by Nix C++ compilerJakub Konka
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-06-19all: zig fmt and rename "@XToY" to "@YFromX"Eric Joldasov
Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me>
2023-04-21macho: do not allocate atoms for stub entriesJakub Konka
2023-03-22macho+zld: refactor parsing of relocation targetJakub Konka
2023-02-18update std lib and compiler sources to new for loop syntaxAndrew Kelley
2023-02-06macho: downgrade alignment requirements for symtab in object filesJakub Konka
Parse and sort relocations by address descending.
2023-01-21macho: properly relocate target symbol address in __eh_frameJakub Konka
2023-01-20zld: parse, synthesise and emit unwind recordsJakub Konka