projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
83a0a62
)
[MC] The PS4's ELF OSABI value is the same as FreeBSD.
author
Alex Rosenberg
<alexr@leftfield.org>
Mon, 26 Jan 2015 15:42:07 +0000
(15:42 +0000)
committer
Alex 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
patch
|
blob
|
history
diff --git
a/include/llvm/MC/MCELFObjectWriter.h
b/include/llvm/MC/MCELFObjectWriter.h
index 421e7a0b2c194b55afa03e74e8b5cd89fb3e8591..9763635b11e92c98c877eeacbb712f28d55c63d2 100644
(file)
--- 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: