Cargo Features

elf_loader has no features set by default.

[dependencies]
elf_loader = { version = "0.13.0", features = ["use-syscall", "version", "log", "rel", "portable-atomic"] }
use-syscall

Use linux syscalls

Enables syscalls

version

Use the version information of symbols when resolving them.

log

Enable logging.

Enables log

rel

Use rel as the relocation type

Affects arch::ElfRelType

portable-atomic

support target without native pointer size atomic operation

Enables portable-atomic and portable-atomic-util