summaryrefslogtreecommitdiff
path: root/gold/ftruncate.c
Commit message (Collapse)AuthorAgeFilesLines
* Add copyright noticesNick Clifton2012-12-171-0/+19
|
* * ffsll.c: New file.Ian Lance Taylor2009-03-281-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.
* * configure.ac: Check for chsize and posix_fallocate. ReplaceIan Lance Taylor2009-03-171-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.