Assembling b label on armv7m without defining label leads to a segfault. This seems to stem from the fact that the validation logic tries to get the symbol address, but cannot actually find an offset for the symbol. We should add some validation logic which checks that a symbol actually exists when assembling, this would also fix issues with nyxstone assembling branches to undefined labels as branches to some indeterminate value.
Assembling
b label
on armv7m without defininglabel
leads to a segfault. This seems to stem from the fact that the validation logic tries to get the symbol address, but cannot actually find an offset for the symbol. We should add some validation logic which checks that a symbol actually exists when assembling, this would also fix issues with nyxstone assembling branches to undefined labels as branches to some indeterminate value.