Initial 64 bit direct object support.
authorAkira Hatanaka <ahatanaka@mips.com>
Mon, 2 Apr 2012 19:25:22 +0000 (19:25 +0000)
committerAkira Hatanaka <ahatanaka@mips.com>
Mon, 2 Apr 2012 19:25:22 +0000 (19:25 +0000)
commita551a48402385cf3f4b754dc72264b2f0974b1a6
tree6040340abe0b9e0c3813216a58e2ff3c5ebd2f07
parent70272aac56830dc4a86de7bf12e591c812ee285b
Initial 64 bit direct object support.

This patch allows llvm to recognize that a 64 bit object file is being produced
and that the subsequently generated ELF header has the correct information.

The test case checks for both big and little endian flavors.

Patch by Jack Carter.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153889 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/ELF.h
lib/Target/Mips/MCTargetDesc/MipsAsmBackend.cpp
lib/Target/Mips/MCTargetDesc/MipsELFObjectWriter.cpp
lib/Target/Mips/MCTargetDesc/MipsMCTargetDesc.cpp
lib/Target/Mips/MCTargetDesc/MipsMCTargetDesc.h
test/MC/Mips/elf_basic.s