When we are able to reuse a Thumb thunk from ARM and vice versa the thumb state bit needs to be set to make sure that the bl is converted to a blx.
Diff Detail
Diff Detail
 Differential  D31659  
[LLD][ELF] Be more precise about Thumb state bit in ARM thunks AbandonedPublic Authored by peter.smith on Apr 4 2017, 4:06 AM. 
Details 
Diff Detail 
Revision Contents 
Diff 94038 ELF/Thunks.cpp
  | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||