* output.cc (Output_file::map_anonymous): Define.
authorIan Lance Taylor <ian@airs.com>
Tue, 24 Mar 2009 18:04:26 +0000 (18:04 +0000)
committerIan Lance Taylor <ian@airs.com>
Tue, 24 Mar 2009 18:04:26 +0000 (18:04 +0000)
commit26736d8ec174d5de8d1699ed7b482282d587c270
tree76a45d6b609ebd3aee1166f7bfa8c8bdeb83d520
parent22fd9730a06b23ad93f31fed3377fcc51f3447df
* output.cc (Output_file::map_anonymous): Define.
(Output_file::map): Use map_anonymous.  If the regular mmap fails,
try an anonymous one.  Report the size if the mmap fails.
* output.h (class Output_file): Declare map_anonymous.
gold/ChangeLog
gold/output.cc
gold/output.h