diff options
author | Alex Rosenberg <alexr@leftfield.org> | 2015-01-26 15:42:07 +0000 |
---|---|---|
committer | Alex Rosenberg <alexr@leftfield.org> | 2015-01-26 15:42:07 +0000 |
commit | 1e0dc31134bd6ec08a10f25a1e817b3510ac3d40 (patch) | |
tree | fb67896fa643ed316f6d1f4aa5e78466d4adcde9 /include | |
parent | 83a0a62a52c92987b514d2867ffe4f13f33d045c (diff) |
[MC] The PS4's ELF OSABI value is the same as FreeBSD.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@227091 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/MC/MCELFObjectWriter.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/MC/MCELFObjectWriter.h b/include/llvm/MC/MCELFObjectWriter.h index 421e7a0b2c1..9763635b11e 100644 --- a/include/llvm/MC/MCELFObjectWriter.h +++ b/include/llvm/MC/MCELFObjectWriter.h @@ -41,6 +41,7 @@ protected: public: static uint8_t getOSABI(Triple::OSType OSType) { switch (OSType) { + case Triple::PS4: case Triple::FreeBSD: return ELF::ELFOSABI_FREEBSD; case Triple::Linux: |