Subject: CVS commit: pkgsrc/lang/gcc48
From: Maya Rashish
Date: 2017-07-29 01:40:07
Message id: 20170728234007.D992FFACD@cvs.NetBSD.org

Log Message:
gcc48: backport upstream security fix
Incorrect codegen from rdseed intrinsic use (CVE-2017-11671)

We should not expand call arguments in between flags reg setting and
flags reg using instructions, as it may expand with flags reg
clobbering insn (ADD in this case).

Attached patch moves expansion out of the link. Also, change
zero-extension to non-flags reg clobbering sequence in case we perform
zero-extension with and.

2017-03-25  Uros Bizjak

Files:
RevisionActionfile
1.37modifypkgsrc/lang/gcc48/Makefile
1.36modifypkgsrc/lang/gcc48/distinfo
1.3addpkgsrc/lang/gcc48/patches/patch-gcc_config_i386_i386.c