From: Alex Rosenberg Date: Mon, 26 Jan 2015 15:42:07 +0000 (+0000) Subject: [MC] The PS4's ELF OSABI value is the same as FreeBSD. X-Git-Tag: llvmorg-3.7.0-rc1~14057 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=89814b476216f48df51147bf89ec7d4b34448a2e;p=platform%2Fupstream%2Fllvm.git [MC] The PS4's ELF OSABI value is the same as FreeBSD. llvm-svn: 227091 --- diff --git a/llvm/include/llvm/MC/MCELFObjectWriter.h b/llvm/include/llvm/MC/MCELFObjectWriter.h index 421e7a0..9763635 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: