http://sourceware.org/bugzilla/show_bug.cgi?id=12525

--- Comment #7 from Ian Lance Taylor <ian at airs dot com> 2011-03-03 16:39:12 
UTC ---
The intention of the code is that the file is guaranteed to be large enough by
the call to posix_fallocate in Output_file::map_no_anonymous.  Does Solaris
have posix_fallocate?  If it does, does it actually grow the file?

If Solaris does not have posix_fallocate, the configure script should detect
that, and cause gold to provide a simple implementation, at the top of
output.cc, which calls ftruncate and hopes for the best.  Does Solaris provide
ftruncate?  If it does, does it actually grow the file?

If Solaris does not have ftruncate, there are various implementations provided
in ftruncate.c.  Which one of those winds up getting used?

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to