[ARM] armv6m eXecute Only (XO) long branch Thunk
authorKeith Walker <keith.walker@arm.com>
Thu, 22 Jun 2023 13:53:13 +0000 (14:53 +0100)
committerKeith Walker <keith.walker@arm.com>
Fri, 30 Jun 2023 10:56:41 +0000 (11:56 +0100)
commit5c42ba98372ba33988e67a3a88f1b08fba37f6e3
treeec9dcebc88ea946667d64c4a1bee53c546b46cf8
parent14f54a594e5b5e215844f03e598805bd8c377003
[ARM] armv6m eXecute Only (XO) long branch Thunk

This patch adds a thunk for Thumb long branch on V6-M for eXecute Only.

Note that there is currently no support for a position independant and
eXecute Only V6-M long branch thunk

Differential Revision: https://reviews.llvm.org/D153772
lld/ELF/Thunks.cpp
lld/test/ELF/arm-thumb-thunk-v6m-xo.s [new file with mode: 0644]