Here's todays version. It now uses autoconf magic to hard-wire the
underlying type of file_ptr. I've used the heuristic:
if fseeko64 && ftello64
there must be off64_t
make file_ptr 64-bit
else if fseeko && ftello
there must be off_t >= sizeof long
make file_ptr 64-bit (if off_t is 8) or long otherwize
else
make file_ptr long
fi
I've called the internal functions "real_fseek" and "real_fread" (to
match real_read). The header "bfdio.h" makes them available to
"cache.c".
My bigcore GDB testcase (along with the rest of the GDB testsuite look
ok). Need to double check the binutils testsuite.
After that, ok?