I want to access a linker symbol defined in the linker file in inline assembler in Rust for an ARM target. However,
asm!(".import mysymb");
leads to
error: :1:2: error: unknown directive .import mysymb
Using .extern
(as suggested here) results in:
LLVM ERROR: unsupported relocation on symbol
What is the correct way to introduce this symbol?