libgloss: _mask belongs in .rodata section, not in .data
commitbd9e5c7d304abedcc9910b4b2548ac64a43ee914
authorroot <root@della.critical.pt>
Thu, 2 Dec 2010 20:33:36 +0000 (2 20:33 +0000)
committerAlvaro <alvieboy@alvie.com>
Thu, 2 Dec 2010 20:37:46 +0000 (2 20:37 +0000)
treea6ce47f345337930b3634aee05368a9240d033f0
parente2cbb76dfe2c4a8fc7f6f88e20a2836a343b1cc8
libgloss: _mask belongs in .rodata section, not in .data

_mask symbol is used in emulation code (storeb) for fast computation of byte mask. Mask values are constant, however they are placed in .data section.
In order to avoid problems with code which does not perform .data initialization, this symbol is moved into ".rodata" section.
toolchain/gcc/libgloss/zpu/crt0.S