Specifying BE32 format for -mbig-endian targets
https:/
BE32 vs BE8 refers to whether or not both data AND code are in big endian format. Older ARM processors allowed for BE32 (Big endian data and code), but newer architectures that are "big-endian" tend to use BE8 (big endian data, little-endian code).
ARM v7 processors can be configured to run in be32 mode if the IE bit is set in the CP15 register 1. One such target is the TMS570LCxx chip from Texas instruments, which uses the armv7r architecture (cortex-r5 big endian device).
The compiler does not recognize the -mbe32 or -mbe8 options, and the linker only understands the --be8 option (which is the default for newer architectures). Am I just missing something?
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Benjamin Kamath for more information if necessary.