aboutsummaryrefslogtreecommitdiff
path: root/gold/ftruncate.c
AgeCommit message (Collapse)AuthorFilesLines
2009-03-28 * ffsll.c: New file.Ian Lance Taylor1-0/+2
* configure.ac: Call AC_REPLACE_FUNCS on ffsll. * gold.h (ffsll): Declare if HAVE_FFSLL is not defined. * ftruncate.c (ftruncate): Declare before definition. * mremap.c (mremap): Likewise. * pread.c (pread): Likewise. * configure, Makefile.in, config.in: Rebuild.
2009-03-17 * configure.ac: Check for chsize and posix_fallocate. ReplaceIan Lance Taylor1-0/+90
ftruncate. * ftruncate.c: New file, from gnulib. * output.cc (posix_fallocate): Define dummy version if not HAVE_POSIX_FALLOCATE. (Output_file::map): Call posix_fallocate rather than lseek and write. * gold.h (ftruncate): Declare if not HAVE_FTRUNCATE. * configure, Makefile.in, config.in: Rebuild.