aboutsummaryrefslogtreecommitdiff
path: root/src/link/Elf/LinkerDefined.zig
AgeCommit message (Collapse)Author
2025-11-20update deprecated ArrayListUnmanaged usage (#25958)Benjamin Jurk
2025-09-21Elf2: create a new linker from scratchJacob Young
This iteration already has significantly better incremental support. Closes #24110
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-07-07std.fmt: breaking API changesAndrew Kelley
added adapter to AnyWriter and GenericWriter to help bridge the gap between old and new API make std.testing.expectFmt work at compile-time std.fmt no longer has a dependency on std.unicode. Formatted printing was never properly unicode-aware. Now it no longer pretends to be. Breakage/deprecations: * std.fs.File.reader -> std.fs.File.deprecatedReader * std.fs.File.writer -> std.fs.File.deprecatedWriter * std.io.GenericReader -> std.io.Reader * std.io.GenericWriter -> std.io.Writer * std.io.AnyReader -> std.io.Reader * std.io.AnyWriter -> std.io.Writer * std.fmt.format -> std.fmt.deprecatedFormat * std.fmt.fmtSliceEscapeLower -> std.ascii.hexEscape * std.fmt.fmtSliceEscapeUpper -> std.ascii.hexEscape * std.fmt.fmtSliceHexLower -> {x} * std.fmt.fmtSliceHexUpper -> {X} * std.fmt.fmtIntSizeDec -> {B} * std.fmt.fmtIntSizeBin -> {Bi} * std.fmt.fmtDuration -> {D} * std.fmt.fmtDurationSigned -> {D} * {} -> {f} when there is a format method * format method signature - anytype -> *std.io.Writer - inferred error set -> error{WriteFailed} - options -> (deleted) * std.fmt.Formatted - now takes context type explicitly - no fmt string
2024-10-11link.Elf: group section indexesAndrew Kelley
so they cannot be forgotten when updating them after sorting them.
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-12Replace deprecated default initializations with decl literalsLinus Groh
2024-08-28std: update `std.builtin.Type` fields to follow naming conventionsmlugg
The compiler actually doesn't need any functional changes for this: Sema does reification based on the tag indices of `std.builtin.Type` already! So, no zig1.wasm update is necessary. This change is necessary to disallow name clashes between fields and decls on a type, which is a prerequisite of #9938.
2024-08-25elf: streamline sections containerJakub Konka
2024-08-07elf: start-stop resolution has to come after init output sectionsJakub Konka
2024-08-07elf: fix symbol resolution for ObjectsJakub Konka
2024-08-07elf: move getStartStopBasename into ObjectJakub Konka
2024-08-07elf: fix compile errorsJakub Konka
2024-08-07elf: redo symbol mgmt and ownership in ZigObjectJakub Konka
2024-08-07elf: move symbol ownership to LinkerDefinedJakub Konka
2024-07-30elf: include LinkerDefined in symbol resolutionJakub Konka
2024-07-30elf: move entry tracking into LinkerDefinedJakub Konka
2024-07-30elf: move initializing and allocating linker-defined symbols into LinkerDefinedJakub Konka
2024-07-30elf: move merge subsections ownership into merge sectionsJakub Konka
2024-07-30elf: move ownership of atoms into objectsJakub Konka
2024-04-20link/elf: port macho symbol extras handlingJakub Konka
2024-01-01linker: fix some allocator referencesAndrew Kelley
2023-11-15elf: we were writing too many symbols in the symtabJakub Konka
2023-11-07elf: actually track output symtab index of symbolsJakub 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-09-12elf: report undefined symbols in objectsJakub Konka
2023-09-11elf: add prelim impl of Object parsingJakub Konka
2023-09-10elf: write linker-defined symbols to symtabJakub Konka
2023-09-10elf: create required linker-defined symbolsJakub 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