Hi Eric, Thanks for the information! Sorry to know dual entry isn't supported well on VxWorks.
Thanks, Kewen on 2019/5/17 下午3:24, Eric Botcazou wrote: >> I do think so. The call is locally, linker should know it's local and >> fix it up with local entry instead. We don't need to keep r12 always >> hold the entry of being called function. > > Yes, but on VxWorks in kernel mode you first do partial linking and then the > loader resolves the remaining relocations. None of them plays the usual > dance > with the local and global entry points implied by the ELFv2 ABI. >