When working with RW data compression:
Use the linker option
--mapto see where compression has been applied to regions in your code.
The linker in RealView Compilation Tools (RVCT) v4.0 and later turns off RW compression if there is a reference from a compressed region to a linker-defined symbol that uses a load address.
If you are using an ARM processor with on-chip cache, enable the cache after decompression to avoid code coherency problems.
Compressed data sections are automatically decompressed at
run time, providing
__main is executed, using
code from the ARM libraries. This code must be placed in a root
region. This is best done using
a scatter file.
If you are using a scatter file, you can specify that a load
or execution region is not to be compressed by adding the