diff options
author | Jack Carter <jcarter@mips.com> | 2012-07-02 20:04:43 +0000 |
---|---|---|
committer | Jack Carter <jcarter@mips.com> | 2012-07-02 20:04:43 +0000 |
commit | 39ae36337f87b1530c1680ae561c952c827d6e88 (patch) | |
tree | e352d3f1b235cba607196d4dca11d5643c6dd85c /test/MC | |
parent | 30a507a1f5d6a5646dd3481eba6958424415c886 (diff) | |
download | external_llvm-39ae36337f87b1530c1680ae561c952c827d6e88.zip external_llvm-39ae36337f87b1530c1680ae561c952c827d6e88.tar.gz external_llvm-39ae36337f87b1530c1680ae561c952c827d6e88.tar.bz2 |
Pass the correct ELFOSABI enumeration to the MipsELFObjectWriter constructor
Contributer: Sasa Stankovic
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159574 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC')
-rw-r--r-- | test/MC/Mips/elf_basic.s | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/MC/Mips/elf_basic.s b/test/MC/Mips/elf_basic.s index 7a79fa0..ffc3b11 100644 --- a/test/MC/Mips/elf_basic.s +++ b/test/MC/Mips/elf_basic.s @@ -30,3 +30,6 @@ // CHECK-LE64: ('e_indent[EI_CLASS]', 0x02) // This is little endian. // CHECK-LE64: ('e_indent[EI_DATA]', 0x01) + +// Check that we are setting EI_OSABI to ELFOSABI_LINUX. +// CHECK-LE64: ('e_indent[EI_OSABI]', 0x03) |