]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r265231:
authorpfg <pfg@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 9 May 2014 01:30:15 +0000 (01:30 +0000)
committerpfg <pfg@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 9 May 2014 01:30:15 +0000 (01:30 +0000)
commitb7366682b5abc262119391f8557f4b3d813c0b02
tree5ed908d995aea897728965382a28932d83f74959
parent24b2e7a5233fd90c8f4b80c2427a308a8580446a
MFC r265231:

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)

git-svn-id: svn://svn.freebsd.org/base/stable/10@265728 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
contrib/gcc/config/i386/i386.c