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.
Diff Detail
Diff Detail
Event Timeline
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..
Herald added subscribers: atanasyan, arichardson, sdardis. · View Herald TranscriptJul 12 2019, 4:11 PM