File tree Expand file tree Collapse file tree 3 files changed +4
-0
lines changed Expand file tree Collapse file tree 3 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ function(set_if_arch_bitness var_name)
9
9
if ("${SIA_ARCH} " STREQUAL "i386" OR
10
10
"${SIA_ARCH} " STREQUAL "i686" OR
11
11
"${SIA_ARCH} " STREQUAL "x86" OR
12
+ "${SIA_ARCH} " STREQUAL "armv4t" OR
12
13
"${SIA_ARCH} " STREQUAL "armv5" OR
13
14
"${SIA_ARCH} " STREQUAL "armv6" OR
14
15
"${SIA_ARCH} " STREQUAL "armv6m" OR
Original file line number Diff line number Diff line change @@ -60,6 +60,8 @@ static std::string adjustClangTriple(StringRef TripleStr) {
60
60
OS << " armv5" ; break ;
61
61
case llvm::Triple::SubArchType::ARMSubArch_v5te:
62
62
OS << " armv5te" ; break ;
63
+ case llvm::Triple::SubArchType::ARMSubArch_v4t:
64
+ OS << " armv4t" ; break ;
63
65
default :
64
66
// Adjust i386-macosx to x86_64 because there is no Swift stdlib for i386.
65
67
if ((Triple.getOS () == llvm::Triple::MacOSX ||
Original file line number Diff line number Diff line change @@ -183,6 +183,7 @@ if(SWIFT_SHOULD_BUILD_EMBEDDED_STDLIB)
183
183
# the following are all ELF targets
184
184
if ("ARM" IN_LIST LLVM_TARGETS_TO_BUILD )
185
185
list (APPEND EMBEDDED_STDLIB_TARGET_TRIPLES
186
+ "armv4t armv4t-none-none-eabi armv4t-none-none-eabi"
186
187
"armv6 armv6-none-none-eabi armv6-none-none-eabi"
187
188
"armv6m armv6m-none-none-eabi armv6m-none-none-eabi"
188
189
"armv7 armv7-none-none-eabi armv7-none-none-eabi"
You can’t perform that action at this time.
0 commit comments