[PATCH GOLD] [4/N mingw host] lack of readv support
Ian Lance Taylor
iant@google.com
Fri Oct 9 23:21:00 GMT 2009
Andrew Pinski <Andrew_Pinski@playstation.sony.com> writes:
> Under mingw, readv does not exist. Ian recommended that disabling
> readv would be a good idea. This patch does that by adding a
> configure check to see if there is readv support and disables the
> usage of readv if it is not supported.
>
> This is the last of the cleaner patches.
>
> OK?
>
> Thanks,
> Andrew Pinski
>
> ChangeLog:
> * configure.ac: Check for readv function also.
> * config.in: Regenerate.
> * configure: Regenerate.
> * fileread.cc (File_read::do_readv): When we don't have readv, fatal error.
> * fileread.h (File_read:: max_readv_entries): Set to 1 if readv does not exist.
I committed this a little differently, as follows. Let me know if
this doesn't work.
Thanks.
Ian
2009-10-09 Andrew Pinski <andrew_pinski@playstation.sony.com>
Ian Lance Taylor <iant@google.com>
* configure.ac: Check for readv function also.
* fileread.cc (readv): Define if not HAVE_READV.
* fileread.h (File_read:: max_readv_entries): Set to 1 if readv
does not exist.
* config.in: Regenerate.
* configure: Regenerate.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.patch
Type: text/x-diff
Size: 1910 bytes
Desc: readv
URL: <https://sourceware.org/pipermail/binutils/attachments/20091009/7001d4ab/attachment.bin>
More information about the Binutils
mailing list