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

Add Solana Binary Format #491

Merged
merged 1 commit into from
Dec 11, 2022
Merged

Add Solana Binary Format #491

merged 1 commit into from
Dec 11, 2022

Conversation

dmakarov
Copy link
Contributor

@dmakarov dmakarov commented Dec 8, 2022

I would like to add a new binary format that is used for on-chain programs on Solana blockchain network. This format includes its unique ELF file header machine code EM_SBF which is in the list of officially assigned ELF gABI e_machines values. Solana maintains its own fork of rust compiler https://github.com/solana-labs/rust. The compiler relies on the object crate for generating synthetic symbols and metadata object files. Hence it is necessary to have SBF architecture defined in the object crate to be able to generate code for Solana on-chain programs. I will also submit an SBF object files to gimli-rs/testfiles repository.

@philipc
Copy link
Contributor

philipc commented Dec 11, 2022

I will also submit an SBF object files to gimli-rs/testfiles repository.

You can if you want to, but for most architectures the round trip test is enough.

@philipc philipc merged commit 0941701 into gimli-rs:master Dec 11, 2022
mcbegamerxx954 pushed a commit to mcbegamerxx954/object that referenced this pull request Jun 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants