Closed adrianherrera closed 4 months ago
Thank you for reporting this. LLVM seems to emit a relocation for bl
but not for b
, but only if the triple/architecture is specified as a shorthand. If you use thumbv8
, aarch64
, or armv8m.main-none-eabi
as the triple, Nyxstone is able to assemble the bl
. We will update the README and docs to make selecting triples easier.
Oooooh, okay! Thanks for the quick response + updates!
Branch and link to a provided label fails to assemble.
E.g.,:
Produces the error:
Note that
ns.assemble("b .label", labels={".label": 0x1000})
works.