diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2015-02-23 23:35:31 +0000 |
---|---|---|
committer | Max Filippov <jcmvbkbc@gcc.gnu.org> | 2015-02-23 23:35:31 +0000 |
commit | 637ece3f9ee580884f8d84ed994fdb473c994ec7 (patch) | |
tree | 2e92c72cacbb04347e18f4c1d7263fb718ba9fea /gcc/ada/gcc-interface/utils.c | |
parent | 708c7f7fb884199b55bede6d00bd7ed6021e6dbf (diff) | |
download | gcc-637ece3f9ee580884f8d84ed994fdb473c994ec7.zip gcc-637ece3f9ee580884f8d84ed994fdb473c994ec7.tar.gz gcc-637ece3f9ee580884f8d84ed994fdb473c994ec7.tar.bz2 |
xtensa: align data naturally when optimizing for size
gcc for xtensa always aligns data at least to a word boundary, even when
it has smaller natural alignment. This results in unexpectedly high data
section sizes and unreasonable amount of wasted space when linking
objects compiled with -fdata-sections flag.
Align data naturally when optimization for size is enabled.
2015-02-22 Max Filippov <jcmvbkbc@gmail.com>
gcc/
* config/xtensa/xtensa.h (CONSTANT_ALIGNMENT, DATA_ALIGNMENT):
use natural alignment when optimizing for size.
From-SVN: r220923
Diffstat (limited to 'gcc/ada/gcc-interface/utils.c')
0 files changed, 0 insertions, 0 deletions