1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
.type foo, %function .set foo, 0x100000 arm: bl 0x100000 b 0x100000 blx 0x100000 bl foo .syntax unified .thumb thumb: bl 0x100000 b 0x100000 blx 0x100000 @ bl foo is broken - gas fails to preserve the symbol reference