diff options
| author | John Thompson <John.Thompson.JTSoftware@gmail.com> | 2009-12-18 14:21:08 +0000 |
|---|---|---|
| committer | John Thompson <John.Thompson.JTSoftware@gmail.com> | 2009-12-18 14:21:08 +0000 |
| commit | ec387afb60cbc70f0cd00949fe55866729934fb7 (patch) | |
| tree | 6a1a73ba15edecb236d811a3443ed2459b0f3d52 /lib/Basic/Targets.cpp | |
| parent | 9a6ac540bab63380a4a78d8fad87f23c50878685 (diff) | |
| download | clang-ec387afb60cbc70f0cd00949fe55866729934fb7.tar.gz clang-ec387afb60cbc70f0cd00949fe55866729934fb7.tar.bz2 clang-ec387afb60cbc70f0cd00949fe55866729934fb7.tar.xz | |
Tweaks for PS3 target.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91685 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Basic/Targets.cpp')
| -rw-r--r-- | lib/Basic/Targets.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Basic/Targets.cpp b/lib/Basic/Targets.cpp index e5a4c434c3..77699dbb4e 100644 --- a/lib/Basic/Targets.cpp +++ b/lib/Basic/Targets.cpp @@ -323,11 +323,14 @@ protected: Define(Defs, "__PPU__", "1"); Define(Defs, "__CELLOS_LV2__", "1"); Define(Defs, "__ELF__", "1"); + Define(Defs, "__LP32__", "1"); } public: PS3PPUTargetInfo(const std::string& triple) : OSTargetInfo<Target>(triple) { this->UserLabelPrefix = ""; + this->LongWidth = this->LongAlign = this->PointerWidth = this->PointerAlign = 32; + this->SizeType = TargetInfo::UnsignedInt; } }; |
