binutils on mingw/mingw64 large files (>2GB) support
Nick Clifton
nickc@redhat.com
Thu Jan 6 11:35:00 GMT 2011
Hi Vladimir,
> objcopy built for mingw64 silently refuses to handle
> files larger 2GB. The reason - mingw/mingw64 headers
> (sys/stat.h) don't have _FILE_OFFSET_BITS magic.
>
> The patch adding negative file size check is attached.
Thanks very much for submitting this patch. I have checked it in along
with this changelog entry.
Cheers
binutils/ChangeLog
2011-01-06 Vladimir Siminov <sv@sw.ru>
* bucomm.c (get_file_size): Check for negative sizes and issue a
warning message if encountered.
More information about the Binutils
mailing list