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

linux-xtensa-uclibc container produces instructions using little-endian encoding #833

Open
ghidra1 opened this issue May 9, 2024 · 0 comments

Comments

@ghidra1
Copy link

ghidra1 commented May 9, 2024

The configuration for this container indicates:

CT_ARCH_BE=y
CT_ARCH_ENDIAN="big"

The Xtensa compiler produces binaries which are identified as big-endian ELF, however the instructions are using little-endian encoding. The data regions appear to use big-endian. Is this intentionally using a mixed-endian convention? Is there any way to get compiler to produce pure-big-endian or pure-little-endian (i.e., instructions and data use the same endianess setting)?

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

No branches or pull requests

1 participant