CHAPTER 2 HANDLING THE DEVICE
When creating programs that use the little-endian area, note the following points
regarding section mapping at link time:
■ Restriction on Section Types
Only data sections without initial values can be mapped in the little-endian area.
If a data section with initial values, a stack section, or a code section is mapped in the little-endian area,
arithmetic operations such as address decisions will be executed internally in the linker using the big-
endian method, causing program operation that is unpredictable.
■ Non-detection of Errors
Because the linker does not recognize the little-endian area, an error message may not be posted if the
restriction described above is not observed.
When using the linker, be careful of the contents for the sections mapped into the little-endian area.