toolchain
toolchain copied to clipboard
[gas] gas need to relax ST a, [xxx, 0] into ST a, [xxx]
We have some code of form
ST a, [@global, 0]
gas barfs as "Error: inappropriate arguments for opcode 'st' "
It can simply relax the ST instruction and ignore the 0 offset.
It is just an encoding issue, GAS doesn't expect to have a symbol there. Hence, the error.
@claziss do we need to do something here?
@claziss ping!
This is a syntactic sugar, if anyone is in desperate need please reopen.