gold/
authorRoland McGrath <roland@gnu.org>
Mon, 10 Dec 2012 17:38:42 +0000 (17:38 +0000)
committerRoland McGrath <roland@gnu.org>
Mon, 10 Dec 2012 17:38:42 +0000 (17:38 +0000)
commit4c8a1de1fe7ae5bb8aa84cad901db098ffb167c0
tree044a65d6fd067495f95da4a29a771000907633ea
parent8b9737bf8cca3d3f999bb48a27019933f2138c2c
gold/
* testsuite/binary_unittest.cc (read_all): New function.
(Sized_binary_test): Use it instead of ::read.
* fileread.cc (do_read): Don't assume pread always reads the whole
amount in a single call.
gold/ChangeLog
gold/fileread.cc
gold/testsuite/binary_unittest.cc