https://github.com/vishruth-thimmaiah/zeld
A (WIP) linker built with zig, for x86-64 elf binaries.
https://github.com/vishruth-thimmaiah/zeld
elf64 linker zig
Last synced: 17 days ago
JSON representation
A (WIP) linker built with zig, for x86-64 elf binaries.
- Host: GitHub
- URL: https://github.com/vishruth-thimmaiah/zeld
- Owner: vishruth-thimmaiah
- License: bsd-3-clause
- Created: 2024-12-19T11:40:03.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-12-24T18:33:37.000Z (6 months ago)
- Last Synced: 2025-12-26T20:13:42.384Z (5 months ago)
- Topics: elf64, linker, zig
- Language: Zig
- Homepage:
- Size: 196 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Zeld
A small linker built with zig, that can link Elf64 files.
[](https://github.com/vishruth-thimmaiah/zeld/actions/workflows/run_tests.yml)
## Build
## Requirements
- [zig](https://ziglang.org/)
Zig can be installed using a [package manager](https://ziglang.org/learn/getting-started/#install-zig-using-a-package-manager).
## Build
```sh
zig build
```
## Usage
```sh
# from the root directory,
./zig-out/bin/zeld
```
or
```sh
zig build run --
```
## Flags
```
Usage: zeld [options]
Options:
-o, --output Specify the output file
-r, --relocatable Create a relocatable file
-dynamic-linker Specify the dynamic linker
-h, --help Display this help message
```
A few example binaries can be found in the `examples` directory.