Handle case where posix_fallocate is not supported for a filesystem.
authorCary Coutant <ccoutant@gmail.com>
Sat, 2 Dec 2017 17:56:40 +0000 (09:56 -0800)
committerCary Coutant <ccoutant@gmail.com>
Sat, 2 Dec 2017 17:56:40 +0000 (09:56 -0800)
commit222b39c283e3fd7823ad95ccc58ae94e76b63237
tree760dd25601f20d8e6f6da0f2e831ba3afe540454
parent158600eb989bcbc364c6d18259f1cb32ea9dc478
Handle case where posix_fallocate is not supported for a filesystem.

2017-12-02  Vladimir Kondratyev  <vladimir@kondratyev.su>
    Cary Coutant  <ccoutant@gmail.com>

gold/
PR gold/22540
* output.cc (gold_fallocate): Trivial return for len == 0.
Add fallback options when posix_fallocate and fallocate return
not-supported errors.
gold/ChangeLog
gold/output.cc