aboutsummaryrefslogtreecommitdiff
path: root/src/link/MachO
AgeCommit message (Collapse)Author
2021-04-13zld: fix indirect symtabJakub Konka
2021-04-13zld: fix rebase vs bind for GOT entriesJakub Konka
2021-04-13zld: fix parsing debug infoJakub Konka
2021-04-13zld: limit exports to just main entrypointJakub Konka
2021-04-13zld: move parsing debug info into objectJakub Konka
2021-04-13zld: add prelim support for localsJakub Konka
2021-04-13zld: flush MachOJakub Konka
2021-04-13zld: resolve target addresses for relocsJakub Konka
2021-04-13zld: resolve stubs and GOT entriesJakub Konka
2021-04-13zld: migrate parts of main to new relocsJakub Konka
2021-04-13zld: preprocess relocs on arm64Jakub Konka
2021-04-13zld: allocate addresses for global symbolsJakub Konka
2021-04-13zld: store a single global symtabJakub Konka
2021-04-13zld: start work on reloc preprocessingJakub Konka
2021-04-13zld: allocate segments based on worst-case and upper-limitJakub Konka
2021-04-13zld: assume remaining undefs are from libSystemJakub Konka
2021-04-13zld: refactor object and archive parsingJakub Konka
2021-04-13zld: redo symbol resolution in objectsJakub Konka
Store only globals and undefs at the linker level, while all locals stay scoped to the actual object file they were defined in. This is fine since the relocations referencing locals will always be resolved first using the local symbol table before checking for the reference within the linker's global symbol table. This also paves the way for proper symbol resolution from within static and dynamic libraries.
2021-04-09Merge pull request #8470 from ziglang/stage2-startAndrew Kelley
stage2: blaze the trail for std lib integration
2021-04-08stage2: simplify Decl src_node fieldAndrew Kelley
Also fix "previous definition here" error notes to be correct.
2021-04-08stage2 AArch64: Add conditional branch instructionsjoachimschmidt557
2021-03-25zld: parse archive's table of contentsJakub Konka
2021-03-22zld: naively handle static initializers in C++Jakub Konka
2021-03-19zld: apply offset for DICE in archiveJakub Konka
2021-03-19zld: continue on invalid/missing debug infoJakub Konka
2021-03-19zld: fix parsing archive/object name from headerJakub Konka
2021-03-18zld: temporarily disable testing shared lib linkingJakub Konka
2021-03-17rebase with masterJakub Konka
2021-03-17zld: fix GOT loads and indirection on x86_64Jakub Konka
2021-03-17zld: add/fix more issuesJakub Konka
* fix debug info for static archives * allow handling of empty object files * fix some relocs for GOT loads
2021-03-17zld: fix TLV initializersJakub Konka
2021-03-17zld: mimick Apple and add __DATA_CONST segJakub Konka
2021-03-17zld: clean up use of commands.zig moduleJakub Konka
2021-03-17zld: use aarch64 for opcodesJakub Konka
2021-03-17zld: fix incorrect offset calc for DICEJakub Konka
2021-03-17Revert log.warn hackJakub Konka
2021-03-17zld: start bringing x64 up to speedJakub Konka
2021-03-17zld: demote logs from warn to debugJakub Konka
2021-03-17zld: merge and sort sectionsJakub Konka
2021-03-17zld: fix handling of section alignmentJakub Konka
2021-03-17zld: pass test-std and test-compiler-rtJakub Konka
2021-03-17zld: differentiate locals from globalsJakub Konka
2021-03-17zld: add nop to reloc moduleJakub Konka
2021-03-17zld: bullet-proof stubs for long jumpsJakub Konka
2021-03-17zld: cleanup section alignment when allocatingJakub Konka
2021-03-17zld: pass stage2 tests linked with zld!Jakub Konka
2021-03-17zld: replace ldr with add if indivisibleJakub Konka
2021-03-17macho: start upstreaming zldJakub Konka
2021-03-17macho: use latest bind functionalityJakub Konka
2021-03-17macho: apply some renames to bring closer to zldJakub Konka