diff options
author | Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> | 2017-06-28 22:09:50 +0000 |
---|---|---|
committer | Ramana Radhakrishnan <ramana@gcc.gnu.org> | 2017-06-28 22:09:50 +0000 |
commit | 9850348784435131aa3d78feab4c93dd34481dde (patch) | |
tree | c91935c2c3cdffd5f92f33b925a84e7a8e2bba5d /gcc/builtins.c | |
parent | cffc4a68d759fdca588cdf9ece998862b76141e6 (diff) | |
download | gcc-9850348784435131aa3d78feab4c93dd34481dde.zip gcc-9850348784435131aa3d78feab4c93dd34481dde.tar.gz gcc-9850348784435131aa3d78feab4c93dd34481dde.tar.bz2 |
[AArch64] Do not increase data alignment at -Os and with -fconserve-stack.
We unnecessarily align data to 8 byte alignments even when -Os is
specified. This brings the logic in the AArch64 backend more in line
with the ARM backend and helps gain some image size in a few
places. Caught by an internal report on the size of rodata sections
being high with aarch64 gcc.
* config/aarch64/aarch64.h (AARCH64_EXPAND_ALIGNMENT): New.
(DATA_ALIGNMENT): Update to use AARCH64_EXPAND_ALIGNMENT.
(LOCAL_ALIGNMENT): Update to use AARCH64_EXPAND_ALIGNMENT.
Bootstrapped and regression tested on aarch64-none-linux-gnu with no
regressions.
From-SVN: r249764
Diffstat (limited to 'gcc/builtins.c')
0 files changed, 0 insertions, 0 deletions