summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Rosenberg <alexr@leftfield.org>2015-01-26 15:42:07 +0000
committerAlex Rosenberg <alexr@leftfield.org>2015-01-26 15:42:07 +0000
commit89814b476216f48df51147bf89ec7d4b34448a2e (patch)
tree96153b7bb7ca6621065245e4d930019bee9c82e3
parent93460674dfb6fd9139ce32b60395c6ff20a8c343 (diff)
downloadbcm5719-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.h1
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:
OpenPOWER on IntegriCloud