This is an archive of the discontinued LLVM Phabricator instance.

Patch to ./include/llvm/Support/ELF.h with the latest registered ELF e_machine names and values
ClosedPublic

Authored by jwolfe on Jun 17 2014, 4:15 PM.

Details

Reviewers
emaste
rafael
Summary

CSR has just registered an ELF e-machine designation for their Kalimba srchitecture. Matthew Gardner has been doing a port of lldb for that family of chips and is awaiting the availability if EM_CSR_KALIMBA in the LLVM e-Machine enumerations.

As a maintainer of the Generic ABI registration, I am taking this opportunity to provide a current and complete list of registered e-machine values.

Diff Detail

Event Timeline

jwolfe updated this revision to Diff 10518.Jun 17 2014, 4:15 PM
jwolfe retitled this revision from to Patch to ./include/llvm/Support/ELF.h with the latest registered ELF e_machine names and values.
jwolfe updated this object.
jwolfe edited the test plan for this revision. (Show Details)
jwolfe added a reviewer: emaste.
jwolfe added a subscriber: Unknown Object (MLST).
rafael accepted this revision.Jun 18 2014, 8:32 AM
rafael added a reviewer: rafael.
rafael added a subscriber: rafael.

Is there a link to the "Generic ABI registration" that we can include in a comment?

This revision is now accepted and ready to land.Jun 18 2014, 8:32 AM
emaste accepted this revision.Jun 18 2014, 8:49 AM
emaste edited edge metadata.

The gABI document is available at:

http://www.uxsglobal.com/developers/gabi/

which covers the evolution of the Generic ABI. The current working
document is at:

http://www.uxsglobal.com/developers/gabi/latest/contents.html

with the current e-machine definitions in:

http://www.uxsglobal.com/developers/gabi/latest/ch4.eheader.html

Requests for new e-machine number registration/assignment are handled by
e-mail to the following equivalent e-mail addresses:

registry@xinuos.com
registry@uxsglobal.com
registry@sco.com

Discussions of feature/change requests to the Generic SysV ABI are
raised and discussed on the Generic System V Application Binary
Interface group on Google:

https://groups.google.com/forum/?fromgroups#!forum/generic-abi

Architecture and OS specific ABI sections are maintained by others.

  • John Wolfe
jwolfe updated this revision to Diff 10581.Jun 18 2014, 11:18 AM
jwolfe edited edge metadata.

At Rafael's suggestion, I have added a comment with the URL to the active generic System V ELF ABI registered machine architectures

This LGTM. Do you have commit access.

I do not currently have commit access. I and Matthew Gardner of CSR
would appreciate this being done.

I have been working with Ed Maste on LLDB for FreeBSD. He suggested
that I apply for commit access in the past, but
I have not moved forward with that request.

Thanks for your review, comments and assistance.

  • John

committed as r211202.

emaste closed this revision.May 27 2015, 1:37 PM

This has been committed.