This is an archive of the discontinued LLVM Phabricator instance.

[ELF] Add armelf emulation mode
ClosedPublic

Authored by evgeny777 on Jun 13 2017, 5:02 AM.

Diff Detail

Repository
rL LLVM

Event Timeline

evgeny777 created this revision.Jun 13 2017, 5:02 AM

Looks we want to update emulation.s to support this case too ?

This LGTM, I had hacked something like this locally for my FreeBSD/lld work.

ruiu edited edge metadata.Jun 13 2017, 12:20 PM

This seems fine, but who actually passes "armelf"? Just want to confirm that this is in use.

In D34140#779285, @ruiu wrote:

This seems fine, but who actually passes "armelf"? Just want to confirm that this is in use.

FreeBSD does; actually, we pass armelf_fbsd but _fbsd is stripped off just above.

This revision was automatically updated to reflect the committed changes.