diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-05-25 01:57:18 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-05-25 01:57:18 +0200 |
commit | 0d87019a9b5479ed2d5ce13b9bfe774c395b9669 (patch) | |
tree | 0c7927127e574947c8ed700477421f5b209a323b /sys/lib/python/contextlib.py | |
parent | c727d2ae8a3a828649e34c71aa45b6665b1a8328 (diff) |
cc: handle unaligned data in = {0} local initializer
the emited code that initializes local variables did not handle
unaligned data causing stack corruption, affecting code like:
void main(void)
{
char a[9] = {0};
}
this change will emit code that does byte stores for the unaligned
bytes and also handles small objects (<= 16 bytes) without branches.
Diffstat (limited to 'sys/lib/python/contextlib.py')
0 files changed, 0 insertions, 0 deletions