aboutsummaryrefslogtreecommitdiff
path: root/src/link/Elf/file.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-06-06Elf: support non-comdat groupsJacob Young
I haven't actually found any documentation about these, but apparently groups aren't always comdats.
2024-10-23link.Elf: remove ZigObject from filesAndrew Kelley
By making it a field of link.Elf, it is now accessible without a data dependency on `files`, fixing a race condition with the codegen thread and linker thread.
2024-10-10link: fix false positive crtbegin/crtend detectionAndrew Kelley
Embrace the Path abstraction, doing more operations based on directory handles rather than absolute file paths. Most of the diff noise here comes from this one. Fix sorting of crtbegin/crtend atoms. Previously it would look at all path components for those strings. Make the C runtime path detection partially a pure function, and move some logic to glibc.zig where it belongs.
2024-10-09elf: do not panic if we already have create a PLT entry for a symbolJakub Konka
2024-10-09elf: fix creation of synthetic sectionsJakub Konka
2024-10-09elf: do not re-populate synthetic sections when updatingJakub Konka
2024-08-07elf: remove stale codeJakub Konka
2024-08-07elf: get hello-world glibc working againJakub Konka
2024-08-07elf: fix compile errorsJakub Konka
2024-08-07elf: redo symbol mgmt and ownership in ZigObjectJakub Konka
2024-08-07elf: always create symbol extraJakub Konka
2024-07-30elf: resolve COMDATs in more parallel-friendly wayJakub Konka
2024-07-30elf: skip storing comdat group signature globallyJakub Konka
2024-07-30elf: move ownership of atoms into objectsJakub Konka
2024-02-16elf: enable adding support for additional cpu archsJakub Konka
2024-02-12elf: do not prealloc input objects, pread selectivelyJakub Konka
2023-12-05elf: copy out committed ZigObject to a buffer when creating static libJakub Konka
2023-11-15elf: we were writing too many symbols in the symtabJakub Konka
2023-11-08elf: LLVM emits relocs to undef local symbols - color me surprised!Jakub Konka
2023-11-07elf: actually track output symtab index of symbolsJakub Konka
2023-11-07elf: generate section symbols when writing symtabJakub Konka
2023-11-06elf: clearly separate updating and writing symtab from only ZigObjectJakub Konka
2023-11-05elf: hook up saving object files in an archiveJakub Konka
2023-11-05elf: add hooks for archiving ObjectsJakub Konka
2023-11-04elf: store ar state per input object fileJakub Konka
2023-11-04elf: collect exports from ZigObject into AR symtabJakub Konka
2023-11-04elf: emit STT_SECTION symbolsJakub Konka
2023-11-04elf: improve Symbol to handle emitting relocatable object filesJakub Konka
2023-11-04elf: implement --gc-sections for non-LLVM Zig sourceJakub Konka
2023-11-04elf: redo strings management in the linkerJakub Konka
* atom names - are stored locally and pulled from defining object's strtab * local symbols - same * global symbols - in principle, we could store them locally, but for better debugging experience - when things go wrong - we store the offsets in a global strtab used by the symbol resolver
2023-10-30elf: rename ZigModule to ZigObjectJakub Konka
2023-10-16elf: re-enable dynamic linking codepathsJakub Konka
2023-10-16elf: increase Atom.Index resolution to u32Jakub Konka
2023-09-27elf: allow expanding segments in virtual memoryJakub Konka
2023-09-23elf: implement markLive for ZigModuleJakub Konka
2023-09-13elf: re-enable linking compiler_rtJakub Konka
2023-09-13elf: parse archivesJakub Konka
2023-09-12elf: clean up and unify symbol ref handling in relocsJakub Konka
Also, this lets us re-enable proper undefined symbols tracking.
2023-09-12elf: claim unresolved dangling symbols that can be claimedJakub Konka
2023-09-12elf: add simplistic symbol resolutionJakub Konka
2023-09-12elf: start fixing symbol resolutionJakub Konka
2023-09-11elf: add prelim impl of Object parsingJakub Konka
2023-09-10elf: create required linker-defined symbolsJakub Konka
2023-09-06elf: lift-off - get it to compile and run until the error!Jakub Konka
2023-09-06elf: make everything upside down - track by Symbol.Index rather than Atom.IndexJakub Konka
2023-09-05elf: start porting abstraction of input fileJakub Konka