[MC] The PS4's ELF OSABI value is the same as FreeBSD.
authorAlex Rosenberg <alexr@leftfield.org>
Mon, 26 Jan 2015 15:42:07 +0000 (15:42 +0000)
committerAlex Rosenberg <alexr@leftfield.org>
Mon, 26 Jan 2015 15:42:07 +0000 (15:42 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@227091 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/MC/MCELFObjectWriter.h

index 421e7a0b2c194b55afa03e74e8b5cd89fb3e8591..9763635b11e92c98c877eeacbb712f28d55c63d2 100644 (file)
@@ -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: