commit | ad7665738cceb89b25315d45f22612510fb6acd2 | [log] [tgz] |
---|---|---|
author | ak <ak@138bc75d-0d04-0410-961f-82ee72b054a4> | Thu Sep 29 13:15:13 2011 |
committer | ak <ak@138bc75d-0d04-0410-961f-82ee72b054a4> | Thu Sep 29 13:15:13 2011 |
tree | 036cb4380d2a3505ae1768b759e006e030596b0d | |
parent | badc6cfaaad34c28dcf83d4773943e589bd47322 [diff] |
Use urandom to get random seed When available use /dev/urandom to get the random seem. This will lower the probability of collisions. On other systems it will fallback to the old methods. Passes bootstrap + testsuite on x86_64. Ok? gcc/: 2011-09-26 Andi Kleen <ak@linux.intel.com> * toplev.c (init_local_tick): Try reading random seed from /dev/urandom git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@179348 138bc75d-0d04-0410-961f-82ee72b054a4