Module dynasmrt::relocations [−][src]
Expand description
This module defines the Relocation
trait and several utilities for implementing relocations.
Structs
Error returned when encoding a relocation failed
Enums
Specifies what kind of relocation a relocation is.
A descriptor for the size of a relocation. This also doubles as a relocation itself
for relocations in data directives. Can be converted to relocations of any kind of architecture
using Relocation::from_size
.
Traits
Used to inform assemblers on how to implement relocations for each architecture. When implementing a new architecture, one simply has to implement this trait for the architecture’s relocation definition.