/// A similartesttoarm-thumb-interwork-notfunc.sthistimeexercisingthe
/// case whereasymboldoesnothavetypeSTT_FUNCbutitdoeshavethebottom
/// bit set.Weuseabsolutesymbolstorepresentassemblerlabelsasthe
/// minimum alignmentofalabelincodeis2.
.syntax unified
.global sym
.global _start
.type_start, %function
.text
.balign 0x1000
_start:
arm_caller:
.arm
b sym
bl sym
//WARN: branch andlinkrelocation:R_ARM_CALLtononSTT_FUNCsymbol:syminterworkingnotperformed; consider using directive '.type sym, %function' to give symbol type STT_FUNC if interworking between ARM and Thumb is required
blx sym
.thumb
thumb_caller:
b sym
bl sym
blx sym
//WARN: branch andlinkrelocation:R_ARM_THM_CALLtononSTT_FUNCsymbol:syminterworkingnotperformed; consider using directive '.type sym, %function' to give symbol type STT_FUNC if interworking between ARM and Thumb is required