Tool/software: TI C/C++ Compiler
The assembler of above versions issues an error if branch destination is a exported label. Following code compiles fine and correct with previous versions:
.sect ".text"
.export func
func:
b no_cross
b cross
nop
no_cross:
nop
.export cross
cross:
nop
.end
Compile with:armcl -mt -mv7r4 -c t.asm
It issues following error:
"t.asm", ERROR! at line 5: [E0001] Address must be defined in the current
section
b cross