Skip to main content

Module trampoline

Module trampoline 

Source
Expand description

Trampolines for libcalls.

This is needed because the target of libcall relocations are not reachable through normal branch instructions.

Constantsยง

AARCH64_TRAMPOLINE ๐Ÿ”’
LOONGARCH64_TRAMPOLINE ๐Ÿ”’
RISCV64_TRAMPOLINE ๐Ÿ”’
X86_64_TRAMPOLINE ๐Ÿ”’

Functionsยง

get_libcall_trampoline
Returns the address of a trampoline in the libcall trampolines section.
libcall_trampoline_len
Returns the length of a libcall trampoline.
make_libcall_trampolines
Creates a custom section containing the libcall trampolines.
make_trampoline ๐Ÿ”’