Page MenuHomePhabricator

[Mips][AsmBackend] Use MCTargetOptions to decide between elf32/64 based on ABI
Needs ReviewPublic

Authored by vmedic on Feb 24 2015, 1:53 AM.

Details

Reviewers
echristo
dsanders
Summary

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

Event Timeline

vmedic updated this revision to Diff 20578.Feb 24 2015, 1:53 AM
vmedic retitled this revision from to [Mips][AsmBackend] Use MCTargetOptions to decide between elf32/64 based on ABI.
vmedic updated this object.
vmedic edited the test plan for this revision. (Show Details)
vmedic added reviewers: dsanders, echristo.
vmedic added a subscriber: Unknown Object (MLST).
dsanders resigned from this revision.Jul 12 2019, 4:11 PM