]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC r212286:
authortijl <tijl@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 21 Sep 2010 12:55:20 +0000 (12:55 +0000)
committertijl <tijl@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 21 Sep 2010 12:55:20 +0000 (12:55 +0000)
commitf4838a8d7ced6022b43568be7644ca6f0a196a90
tree5ea4281490ad609162cbcf802f516dba5ece0967
parente63d18d360850907f7ba08ca430b912ac2a1c786
MFC r212286:

GCC defines built-ins for atomic instructions found on i486 and higher.
Because FreeBSD no longer supports the 80386 cpu all code targeting
FreeBSD/i386 necessarily runs on i486 or higher so the compiler
built-ins can be used by default inside libstdc++ and in C++ headers.
This allows newly compiled C++ code to inline some atomic operations.
Old binaries continue to use libstdc++ functions.

PR: 148926
Tested by: Yuri Karaban <tech askold net>
Approved by: kib (mentor)

git-svn-id: svn://svn.freebsd.org/base/stable/8@212962 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
gnu/lib/libstdc++/Makefile
gnu/lib/libstdc++/config.h