# stage2: move format-specific code to link.File.X · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/6123201f06e0bfb138d6dfba0b3ba9ee105062f2)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 6123201f06e0bfb138d6dfba0b3ba9ee105062f2

Requested commit: 6123201f06e0bfb138d6dfba0b3ba9ee105062f2

Commit: 6123201f06e0bfb138d6dfba0b3ba9ee105062f2

Tree: efb8b123e412c687291f11b81ad42d3c622e5dba

Author: Isaac Freund

Committer: Andrew Kelley

## Message

```
stage2: move format-specific code to link.File.X

This makes the code outside of link.File.Elf less elf-specific and will
allow for easier implementation of other formats such as wasm.

```

## Parents

- [5ae88e919b2e1e0a519fda1e49c8e83e139cba40](https://git.cafe/gitcafe/zig/commit/5ae88e919b2e1e0a519fda1e49c8e83e139cba40?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/6123201f06e0bfb138d6dfba0b3ba9ee105062f2?format=markdown)
