mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-25 11:26:06 +00:00
Add support for ARMv7-M architecture which uses the Thumb 2 ISA (unified syntax)
Patch by Jérémie Faucher-Goulet! Differential Revision: https://reviews.llvm.org/D60417 llvm-svn: 358642
This commit is contained in:
parent
eff3b6fe7f
commit
a88a020612
@ -610,6 +610,9 @@ DEFINE_LIBUNWIND_FUNCTION(_ZN9libunwind15Registers_arm646jumptoEv)
|
||||
#elif defined(__arm__) && !defined(__APPLE__)
|
||||
|
||||
#if !defined(__ARM_ARCH_ISA_ARM)
|
||||
#if (__ARM_ARCH_ISA_THUMB == 2)
|
||||
.syntax unified
|
||||
#endif
|
||||
.thumb
|
||||
#endif
|
||||
|
||||
|
@ -750,6 +750,9 @@ DEFINE_LIBUNWIND_FUNCTION(__unw_getcontext)
|
||||
#elif defined(__arm__) && !defined(__APPLE__)
|
||||
|
||||
#if !defined(__ARM_ARCH_ISA_ARM)
|
||||
#if (__ARM_ARCH_ISA_THUMB == 2)
|
||||
.syntax unified
|
||||
#endif
|
||||
.thumb
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user