aboutsummaryrefslogtreecommitdiff
path: root/src/link
AgeCommit message (Collapse)Author
2024-10-07link.Elf: Fix page size calculation for more architectures.Alex Rønne Petersen
Sourced from binutils/bfd.
2024-10-06Merge pull request #21587 from alexrp/hexagon-portingAlex Rønne Petersen
Some initial `hexagon-linux` port work
2024-10-03Merge pull request #21570 from alexrp/windows-itaniumAlex Rønne Petersen
Initial port work for `*-windows-itanium` support.
2024-10-03Merge pull request #21573 from alexrp/elf-headerJakub Konka
Some additions to `std.elf` addressing #19830, plus some zld improvements
2024-10-03link.Elf: Fix default page size for hexagon.Alex Rønne Petersen
2024-10-03link.MachO: Add exhaustive handling for all Apple target triples.Alex Rønne Petersen
2024-10-03link.Elf: Set EI_OSABI value correctly depending on target arch/OS.Alex Rønne Petersen
2024-10-02Merge pull request #21527 from alexrp/elf-emulationsAlex Rønne Petersen
`link.Elf`: Make `getLDMOption()` exhaustive with regards to LLD's `parseEmulation()`.
2024-09-28Initial port work for `*-windows-itanium` support.Alex Rønne Petersen
https://llvm.org/docs/HowToBuildWindowsItaniumPrograms.html This is a weird middle ground between `*-windows-gnu` and `*-windows-msvc`. It uses the C++ ABI of the former while using the system libraries of the latter.
2024-09-28macho: increase pre-allocated vmsize for __TEXT_ZIG segmentJakub Konka
2024-09-26link.Elf: Make getLDMOption() exhaustive with regards to LLD's parseEmulation().Alex Rønne Petersen
2024-09-25elf: remove unused codeJakub Konka
2024-09-25elf: change how we create new program headersJakub Konka
We do not want to create additional ones per update that are duplicates of existing ones.
2024-09-25elf: reset output symtab contexts before re-updatingJakub Konka
2024-09-25elf: reset (merge) sections sizes before updatingJakub Konka
2024-09-25elf: do not re-create special program headers if already createdJakub Konka
2024-09-25elf: do not re-create synthetic sections if already createdJakub Konka
2024-09-23elf: always override existing __start/__stop symbolsJakub Konka
2024-09-23elf: only allocate __dso_handle symbol if not found in any objectJakub Konka
2024-09-23elf: remove dead codeJakub Konka
2024-09-23elf: fix condition for skipping symbols if atom is deadJakub Konka
Skipping the symbols too early when resolving would end up in the linker not deduping CIEs fully.
2024-09-19link.Wasm.Feature: Update to mirror std.Target.wasm.Luuk de Gram
2024-09-15Revert "Dwarf: prevent crash on missing field inits"mlugg
This reverts commit faafc4132731e854a471ad4c4bb231efb525ea9a.
2024-09-12Replace deprecated default initializations with decl literalsLinus Groh
2024-09-10Dwarf: prevent crash on missing field initsJacob Young
Workaround for #21362
2024-09-10Dwarf: implement default field valuesJacob Young
2024-09-10Dwarf: implement variables without runtime bitsJacob Young
2024-09-10Dwarf: implement and test multi array listJacob Young
2024-09-10codegen: implement output to the `.debug_info` sectionJacob Young
2024-09-10Dwarf: implement and test declsJacob Young
2024-09-10Dwarf: fix missing padding before incrementally updated entriesJacob Young
2024-09-04elf: fix 32bit buildJakub Konka
2024-09-04elf: actually commit AtomList.zigJakub Konka
2024-09-04elf: migrate thunks to the new mechanism (AtomList)Jakub Konka
2024-09-04elf: rename SectionChunk into AtomList and store as part of SectionJakub Konka
2024-09-04elf: create back/forward links for atoms within section chunksJakub Konka
2024-09-04elf: fix emitting static lib when ZigObject is presentJakub Konka
2024-09-04elf: do not pad placeholders coming from input object filesJakub Konka
This is currently not entirely accurate since no padding will affect the last-most atom of ZigObject that should be padded.
2024-09-04elf: misc .eh_frame management fixesJakub Konka
2024-09-04elf: copy existing data when allocating other alloc sections in relocatable modeJakub Konka
2024-09-04elf: do not create .eh_frame section if ZigObject already did so in ↵Jakub Konka
relocatable mode
2024-09-04elf: init rela sections in a separate pass for ZigObjectJakub Konka
2024-09-04elf: emit relocs for self-hosted generated .eh_frame sectionJakub Konka
2024-09-04elf: fix relocatable modeJakub Konka
2024-09-04elf: actually allocate atoms within each section chunkJakub Konka
2024-09-04elf: update osec index for section chunks in objectsJakub Konka
2024-09-04elf: actually write allocated atoms in object filesJakub Konka
2024-09-04elf: do not create .eh_frame section if ZigObject already did soJakub Konka
2024-09-04elf: allocate atom chunks using allocateChunk mechanics in objectsJakub Konka
2024-09-04elf: introduce SectionChunk - a container of atoms per object fileJakub Konka