]> granicus.if.org Git - clang/commit
MachO: use *-*-*-macho for MachO embedded targets.
authorTim Northover <tnorthover@apple.com>
Thu, 16 Jan 2014 08:48:16 +0000 (08:48 +0000)
committerTim Northover <tnorthover@apple.com>
Thu, 16 Jan 2014 08:48:16 +0000 (08:48 +0000)
commit6bd37ee37aa8ffb7007e38735ce14f27e5784b40
tree02dcd5631c3ac0ded82b424cb7f0aeaf733722c2
parent6749b867ad32635016177ea3a199b528d2fe88c8
MachO: use *-*-*-macho for MachO embedded targets.

Previously we had bodged together some hacks mapping MachO embedded
targets (i.e. mainly ARM v6M and v7M) to the "*-*-darwin-eabi" triple.
This is incorrect in both details (they don't run Darwin and they're
not EABI in any real sense).

This commit appropriates the existing "MachO" environment for the
purpose instead.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@199367 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Basic/Targets.cpp
lib/Driver/Driver.cpp
lib/Driver/ToolChain.cpp
lib/Driver/ToolChains.cpp
lib/Driver/ToolChains.h
lib/Driver/Tools.cpp
lib/Driver/Tools.h
test/Driver/darwin-embedded.c
test/Driver/macho-embedded.c [moved from test/Driver/darwin-eabi.c with 68% similarity]
test/Preprocessor/macho-embedded-predefines.c [new file with mode: 0644]