PR libstdc++/67578 Implement non-trivial std::random_device::entropy
commit76c74d215c17b9003106319fbdad46e65bc9be22
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 23 May 2017 16:11:57 +0000 (23 16:11 +0000)
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 23 May 2017 16:11:57 +0000 (23 16:11 +0000)
tree1fafd31d92df7bef501ad28913440b5d993a740b
parent369e5e40854c0e316c5fe7d8ae362eb3d9db31cf
PR libstdc++/67578 Implement non-trivial std::random_device::entropy

2017-05-23  Xi Ruoyao  <ryxi@stu.xidian.edu.cn>
    Jonathan Wakely  <jwakely@redhat.com>

PR libstdc++/67578
* acinclude.m4: Bump libtool_VERSION.
* config/abi/pre/gnu.ver: Create GLIBCXX_3.4.24 with new symbol.
* config.h.in: Regenerate.
* configure: Regenerate.
* configure.ac: Add test for <linux/random.h>.
* doc/xml/manual/abi.xml: Document new library version.
* include/bits/random.h (random_device::entropy)
[_GLIBCXX_USE_RANDOM_TR1]: Add call to new _M_getentropy member.
(random_device::_M_getentropy): Declare.
* src/c++11/random.cc (random_device::_M_getentropy): Define.
* testsuite/util/testsuite_abi.cc: Add GLIBCXX_3.4.24 to known
versions, and make it the latest version.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@248374 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/acinclude.m4
libstdc++-v3/config.h.in
libstdc++-v3/config/abi/pre/gnu.ver
libstdc++-v3/configure
libstdc++-v3/configure.ac
libstdc++-v3/doc/xml/manual/abi.xml
libstdc++-v3/include/bits/random.h
libstdc++-v3/src/c++11/random.cc
libstdc++-v3/testsuite/util/testsuite_abi.cc