MachO: add dummy armv6m architecture directory so clang_macho_embedded builds things.
authorTim Northover <tnorthover@apple.com>
Thu, 10 Jul 2014 10:06:42 +0000 (10:06 +0000)
committerTim Northover <tnorthover@apple.com>
Thu, 10 Jul 2014 10:06:42 +0000 (10:06 +0000)
commit9775cffe1417f80a7fa5df56656ad301ca87a681
tree50a46b019d965a1ea672f0b21e9d66f51b8024b0
parent853fa0ac8d20df2097a1c0b2efa88440eaca5a81
MachO: add dummy armv6m architecture directory so clang_macho_embedded builds things.

Without some mention of armv6m in a subdirectory of builtins, the make code
doesn't even know that armv6m exists and is something it should be looking for
in the platform-specific Makefiles. This means that none of the functions
listed actually get built and we end up with an almost entirely empty
libclang_rt.a for armv6m.

Unfortunately, the assembly code in the usual arm directory has no hope of
running on armv6m, which only supports Thumb-1 (not even ARM mode), so adding
it there won't work. Realistically, we probably *will* want to put any
optimised versions in a separate directory, so creating it now is harmless.

rdar://problem/17613576

llvm-svn: 212696
compiler-rt/lib/builtins/Makefile.mk
compiler-rt/lib/builtins/armv6m/Makefile.mk [new file with mode: 0644]