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 | 89814b476216f48df51147bf89ec7d4b34448a2e (patch) | |
| tree | 96153b7bb7ca6621065245e4d930019bee9c82e3 | |
| parent | 93460674dfb6fd9139ce32b60395c6ff20a8c343 (diff) | |
| download | bcm5719-llvm-89814b476216f48df51147bf89ec7d4b34448a2e.tar.gz bcm5719-llvm-89814b476216f48df51147bf89ec7d4b34448a2e.zip | |
[MC] The PS4's ELF OSABI value is the same as FreeBSD.
llvm-svn: 227091
| -rw-r--r-- | llvm/include/llvm/MC/MCELFObjectWriter.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/include/llvm/MC/MCELFObjectWriter.h b/llvm/include/llvm/MC/MCELFObjectWriter.h index 421e7a0b2c1..9763635b11e 100644 --- a/llvm/include/llvm/MC/MCELFObjectWriter.h +++ b/llvm/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: |

