aboutsummaryrefslogtreecommitdiff
path: root/src/link/Coff/Atom.zig
AgeCommit message (Collapse)Author
2024-10-24link/Coff: simplify file structure by collapsing all files into Coff.zig ↵Jakub Konka
(#21761) * coff: collapse Coff/lld.zig logic into Coff.zig * coff: rename std.coff uses to coff_util * coff: rename self to coff for *Coff references * coff: collapse Coff/Atom.zig logic into Coff.zig * coff: collapse Coff/Relocation.zig logic into Coff.zig * coff: collapse Coff/ImportTable.zig logic into Coff.zig * coff: remove unused Coff/Object.zig * link/Coff: fix rebase gone wrong
2024-01-01fix a round of compile errors caused by this branchAndrew Kelley
2023-04-03macho+coff: remove alignment from Atom as it is unusedJakub Konka
2023-03-28coff: use ArrayHashMap if we are iterating over keysJakub Konka
2023-02-01link: clean up type resolution in Elf.Atom and MachO.AtomJakub Konka
2023-01-31link: make Coff atoms fully owned by the linkerJakub Konka
2023-01-26coff: migrate to new non-allocateDeclIndexes APIJakub Konka
2022-11-18run zig fmt on everything checked by CIStevie Hryciw
2022-11-06coff: move relocation in its own moduleJakub Konka
2022-09-10coff: remove unused functionJakub Konka
2022-09-07coff: remove redundant bits and clean upJakub Konka
2022-09-07coff: create import atoms and matching bindingsJakub Konka
2022-08-31coff: write base relocations for the dynamic linkerJakub Konka
This means we can request ASLR on by default as other COFF linkers do. Currently, we write the base relocations in bulk, however, given that there is a mechanism for padding in place in PE/COFF I believe there might be room for making it an incremental operation (write base relocation whenever we add/update a pointer that would require it).
2022-08-30coff: cleanup relocations; remove COFF support from other backendsJakub Konka
Given that COFF will want to support PIC from ground-up, there is no point in leaving outdated code for COFF in other backends such as arm or aarch64. Instead, when we are ready to look into those, we can start figuring out what to add and where.
2022-08-30coff: add basic handling of GOT PC relative indirectionJakub Konka
2022-08-30coff: allocate and write atoms to fileJakub Konka
2022-08-30coff: reorganize the linkerJakub Konka