This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [PATCH] Handle > 2GB objects in strings, speed it up
- From: Nick Clifton <nickc at cambridge dot redhat dot com>
- To: jakub at redhat dot com
- Cc: binutils at sources dot redhat dot com, rebel at atrey dot karlin dot mff dot cuni dot cz
- Date: 03 Dec 2001 10:35:44 +0000
- Subject: Re: [PATCH] Handle > 2GB objects in strings, speed it up
Hi Jakub,
The patch appears to have skipped between the cracks, so...
2001-10-25 Jakub Jelinek <jakub@redhat.com>
* strings.c: Include config.h before bfd.h.
(file_off): New type.
(file_open): Define.
(print_strings): Use file_off instead of file_ptr. Print addresses
which don't fit into long correctly.
(get_char): Use file_off instead of file_ptr. Use getc_unlocked if
available.
(strings_file): Use file_off instead of file_ptr. Use file_open.
* configure.in: Check for getc_unlocked.
Check for fopen64 and whether _LARGEFILE64_SOURCE needs to
be defined for it.
* configure: Rebuilt.
* config.h.in: Rebuilt.
Approved - please apply.
Cheers
Nick