Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ELF] Please register ELF machine type for EraVM #461

Open
asl opened this issue Apr 2, 2024 · 0 comments
Open

[ELF] Please register ELF machine type for EraVM #461

asl opened this issue Apr 2, 2024 · 0 comments

Comments

@asl
Copy link
Collaborator

asl commented Apr 2, 2024

Consider officially registering EM_MACHINE enum value for EraVM. See https://www.sco.com/developers/gabi/latest/ch4.eheader.html for the (incomplete) list of current values.

This would required to correct mark ELF files with EraVM code inside.

In the meantime we will use and interim EM_ERAVM entry with value 260. Here is LLVM side of things: https://github.com/llvm/llvm-project/blob/main/llvm/include/llvm/BinaryFormat/ELF.h#L132

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants