Re: [PATCH] xtensa: align data naturally when optimizing for size

2015-02-23 Thread augustine.sterl...@gmail.com
On Sat, Feb 21, 2015 at 4:19 PM, Max Filippov wrote: > 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 -f

Re: [PATCH] xtensa: align data naturally when optimizing for size

2015-02-23 Thread Max Filippov
On Tue, Feb 24, 2015 at 2:30 AM, augustine.sterl...@gmail.com wrote: > On Sat, Feb 21, 2015 at 4:19 PM, Max Filippov wrote: >> >> 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 a

[PATCH] xtensa: align data naturally when optimizing for size

2015-02-21 Thread Max Filippov
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 fo