// The table contains signed 2-byte sized elements which are 1/2 the distance
// from lr to the target label.
//
- .align 2
+ .p2align 2
DEFINE_COMPILERRT_PRIVATE_FUNCTION(__switch16)
ldrh ip, [lr, #-1] // get first 16-bit word in table
cmp r0, ip // compare with index
bx ip // jump to computed label
END_COMPILERRT_FUNCTION(__switch16)
-// tell linker it can break up file at label boundaries
-FILE_LEVEL_DIRECTIVE