This is an archive of the discontinued LLVM Phabricator instance.

Recover elf32-bigmips support in LLD
AbandonedPublic

Authored by vit9696 on Feb 9 2019, 11:51 AM.

Details

Reviewers
ruiu
espindola
Group Reviewers
lld
Summary

This fixes a 7.0 -> 8.0 regression when parsing OUTPUT_FORMAT("elf32-bigmips"); directive in ldscripts.

I request this to be backported to LLD 8.0, as it is a regression breaking ldscripts that worked fine with LLD 7.0.

Diff Detail

Event Timeline

vit9696 created this revision.Feb 9 2019, 11:51 AM
ruiu added a comment.Feb 11 2019, 11:15 AM

Can you merge your recent patches that adds new entries to this place into a single patch, add tests to lld/test/ELF/emulation-ppc.s, and then repost?