From 89814b476216f48df51147bf89ec7d4b34448a2e Mon Sep 17 00:00:00 2001 From: Alex Rosenberg Date: Mon, 26 Jan 2015 15:42:07 +0000 Subject: [PATCH] [MC] The PS4's ELF OSABI value is the same as FreeBSD. llvm-svn: 227091 --- llvm/include/llvm/MC/MCELFObjectWriter.h | 1 + 1 file changed, 1 insertion(+) diff --git a/llvm/include/llvm/MC/MCELFObjectWriter.h b/llvm/include/llvm/MC/MCELFObjectWriter.h index 421e7a0b2c19..9763635b11e9 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: