r220923 - in /trunk/gcc: ChangeLog config/xtens...
jcmvbkbc@gcc.gnu.org
jcmvbkbc@gcc.gnu.org
Mon Feb 23 23:35:00 GMT 2015
Author: jcmvbkbc
Date: Mon Feb 23 23:35:31 2015
New Revision: 220923
URL: https://gcc.gnu.org/viewcvs?rev=220923&root=gcc&view=rev
Log:
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.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/xtensa/xtensa.h
More information about the Gcc-cvs
mailing list