This patch represents Mips specific part of D6476. It uses MCTargetOptions parameter passed to AsmBackend and base on ABI value initiates ELFObjectWriter to create ELF32/64 output. Consequently, it changes the way target triple is decided based on ELF header fields.
vmedic retitled this revision from to [Mips][AsmBackend] Use MCTargetOptions to decide between elf32/64 based on ABI.
vmedic updated this object.
vmedic added a parent revision: D6476: [Mips][ABI]The ELF container needs to depend on the ABI rather than the target triple..
vmedic added a subscriber: Unknown Object (MLST).