aboutsummaryrefslogtreecommitdiff
path: root/src/link
AgeCommit message (Collapse)Author
2023-11-09elf: track .rela.eh_frame section and emit .eh_frame section symbolJakub Konka
2023-11-09elf: misc fixesJakub Konka
2023-11-09wasm-linker: ensure symbol fields are set for declsLuuk de Gram
Previously the symbol tag field would remain `undefined` until it was set during `flush`. However, the symbol's tag would be observed earlier than where it was being set. We now set it to the explicit tag `undefined` so this can be caught during debug. The symbol tag of a decl will now also be set right after `updateDecl` and `updateFunc`. Likewise, we now also set the `name` field during atom creation for decls, as well as set the other fields to the max(u32) to ensure we get a compiler crash during debug to ensure any misses will be caught.
2023-11-08elf: fix 32bit buildJakub Konka
2023-11-08elf: emit SHN_COMMON symbols in -r modeJakub Konka
2023-11-08elf: streamline codepaths for different linker modes (object, ar, exe/dyn)Jakub Konka
2023-11-08elf: LLVM emits relocs to undef local symbols - color me surprised!Jakub Konka
2023-11-08MachO: support `-fsingle-threaded` modeJacob Young
2023-11-08elf: adjust r_addend with offset of the original input section ref'd via ↵Jakub Konka
STT_SECTION
2023-11-08elf: claim unresolved dangling symbols as undef externs in -r modeJakub Konka
2023-11-08elf: reference .rela sections via output section indexJakub Konka
2023-11-07elf: actually track output symtab index of symbolsJakub Konka
2023-11-07elf: allocate alloc sections when emitting relocatableJakub Konka
2023-11-07elf: emit .rela.eh_frame section header if requiredJakub Konka
2023-11-07elf: create link between .rela and output sectionJakub Konka
2023-11-07elf: update .rela section sizesJakub Konka
2023-11-07elf: generate section symbols when writing symtabJakub Konka
2023-11-07elf: create skeleton of required changes for supporting -r modeJakub Konka
2023-11-07Merge pull request #17873 from ziglang/elf-archiveJakub Konka
elf: implement archiving input object files
2023-11-06CheckObject: support parsing and dumping archive symtab for ELFJakub Konka
2023-11-06elf: clearly separate updating and writing symtab from only ZigObjectJakub Konka
2023-11-06Compilation: unconditionally close open file handles for writable danceJakub Konka
2023-11-05cbe: add DeclVisibility and zig_extern_mangled to handle exporting mangled ↵kcbanner
symbols under a different name
2023-11-05Merge pull request #17871 from jacobly0/x86_64Andrew Kelley
x86_64: get a compiler compiled with the x86_64 backend passing x86_64 backend tests
2023-11-05Merge pull request #17815 from Luukdegram/wasm-no-entryAndrew Kelley
wasm-linker: implement `-fno-entry` and correctly pass `--shared` and `--pie` when given
2023-11-05src: fix memory leaksJacob Young
2023-11-05elf: hook up saving object files in an archiveJakub Konka
2023-11-05elf: add hooks for archiving ObjectsJakub Konka
2023-11-05elf: init objects after parsing themJakub Konka
2023-11-05elf: actually save correct object names in the archiveJakub Konka
2023-11-04Merge pull request #17844 from ziglang/elf-objectJakub Konka
elf: handle emitting relocatables and static libraries - humble beginnings
2023-11-04elf: actually capture positionals when linking static libraryJakub Konka
2023-11-04elf: flag errors on hitting unimplemented codepathsJakub Konka
2023-11-04elf: fix more int resolution issuesJakub Konka
2023-11-04elf: fix 32bit buildJakub Konka
2023-11-04elf: do not store filename in strtab unless longer than 15 charsJakub Konka
2023-11-04elf: store ar state per input object fileJakub Konka
2023-11-04elf: do not align end of archive to 2bytes; fix archive parserJakub Konka
2023-11-04link: commit missing source StringTable.zigJakub Konka
2023-11-04elf: align ar_hdr to at least 2 bytesJakub Konka
2023-11-04elf: fix writing symtab to an archiveJakub Konka
2023-11-04elf: generate pretty rudimentary archiveJakub Konka
2023-11-04elf: collect exports from ZigObject into AR symtabJakub Konka
2023-11-04elf: enable static-lib flush pathJakub Konka
2023-11-04elf: postpone creation of .got.zig entry until code emitJakub Konka
2023-11-04elf: use StringTable for strtab management in ZigObjectJakub Konka
2023-11-04elf: fix r_offset when emitting relocs for the linkerJakub Konka
2023-11-04elf: claim unresolved dangling symbols as undef externs when emitting objectJakub Konka
2023-11-04elf: emit STT_SECTION symbolsJakub Konka
2023-11-04elf: make sure we never emit .got.zig relocs when linking object filesJakub Konka