From 1e0dc31134bd6ec08a10f25a1e817b3510ac3d40 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@227091 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/MC/MCELFObjectWriter.h | 1 + 1 file changed, 1 insertion(+) 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: -- 2.34.1