Use ELFOSABI_NONE instead of ELFOSABI_LINUX.
authorRafael Espindola <rafael.espindola@gmail.com>
Thu, 24 Sep 2015 20:57:24 +0000 (20:57 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Thu, 24 Sep 2015 20:57:24 +0000 (20:57 +0000)
commit5c37d1622d602fe7cd6786b939b876361852d4c7
treec637aade3990f139ffb49cf25c93b31279c26f9d
parentd0edb1f758970506b44883154088bc83f8d1da35
Use ELFOSABI_NONE instead of ELFOSABI_LINUX.

The doesn't seem to be a difference and ELFOSABI_NONE seems to be far more
common:

* Linux doesn't care when loading and puts ELFOSABI_NONE on core dumps.
* Gold and bfd ld produce files with ELFOSABI_NONE.
* Gold and bfd ld seems to ignore EI_OSABI other than for freebsd.
* Gas puts ELFOSABI_NONE in most .o files.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@248534 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MC/MCELFObjectWriter.h
test/MC/AArch64/elf_osabi_flags.s
test/MC/Mips/elf_basic.s