This is an archive of the discontinued LLVM Phabricator instance.

lld/ELF: Parse MSP430 BFD/emulation names
ClosedPublic

Authored by LemonBoy on Dec 9 2020, 4:14 AM.

Details

Summary

Follow the naming set by TI's own GCC-based toolchain.
Also, force the osabi field to ELFOSABI_STANDALONE, this matches GNU LD's output (the patching is done in elf32_msp430_post_process_headers).

Diff Detail

Event Timeline

LemonBoy created this revision.Dec 9 2020, 4:14 AM
LemonBoy requested review of this revision.Dec 9 2020, 4:14 AM
Herald added a project: Restricted Project. · View Herald TranscriptDec 9 2020, 4:14 AM
MaskRay accepted this revision.Dec 9 2020, 9:16 AM
This revision is now accepted and ready to land.Dec 9 2020, 9:16 AM

As usual please merge if no more reviews are needed.

TIA.

This revision was landed with ongoing or failed builds.Dec 14 2020, 9:38 AM
This revision was automatically updated to reflect the committed changes.