qld 0.1.0

A fast, parallel linker compatible with GNU ld, gold, lld and mold
Documentation
//! Instruction-level helpers shared across formats.
//!
//! Relocation *types* belong to a format, but the instruction encoding behind
//! them does not: an AArch64 range-extension thunk is the same code whether it
//! is emitted into an ELF or a Mach-O output. Branch ranges, thunk encodings,
//! ADRP/ADD immediate packing and similar helpers live here.
//!
//! Anything that names a relocation constant belongs in a backend instead.

pub mod aarch64;
pub mod arm;
pub mod loongarch;
pub mod ppc64;
pub mod riscv;
pub mod s390x;

/// A value does not fit the instruction field it is being packed into.
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub struct Overflow;