An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

          

# Zeld
A small linker built with zig, that can link Elf64 files.

[![Tests](https://github.com/vishruth-thimmaiah/zeld/actions/workflows/run_tests.yml/badge.svg)](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.