diff options
author | pfg <pfg@FreeBSD.org> | 2014-05-02 16:15:34 +0000 |
---|---|---|
committer | pfg <pfg@FreeBSD.org> | 2014-05-02 16:15:34 +0000 |
commit | fe39a82f7dee4ecb131650441b78922f154b21aa (patch) | |
tree | 3a659cd40204d6bef00d733c819398479553155c /usr.sbin/mailstats | |
parent | 2b33056fcc4e3ad36f38aeea211ae3d2d910c404 (diff) | |
download | FreeBSD-src-fe39a82f7dee4ecb131650441b78922f154b21aa.zip FreeBSD-src-fe39a82f7dee4ecb131650441b78922f154b21aa.tar.gz |
gcc: fix strict alignment.
From the OpenBSD log:
x86-64 ABI requires arrays greater than 16 bytes to be aligned to
16byte boundary. However, GCC 16-byte aligns arrays of >=16 BITS,
not BYTES.
This diff improves bug detectability for code which has local arrays
of [16 .. 127] bits: in those cases SSP will now detect even 1-byte
overflows.
Obtained from: OpenBSD (CVS rev 1.4)
MFC after: 1 week
Diffstat (limited to 'usr.sbin/mailstats')
0 files changed, 0 insertions, 0 deletions