I am applying the patch below to catch a problem with ar creating
invalid archives (because the file offsets in the symbol table overflow
the 32-bits that are available to them). This is not just a
theoretical problem - it has now started happening with real libraries
in real production systems.
As a side effect of the patch I have also extended readelf's dumping
of archive symbol tables to include the file offset to the member
containing the symbols. This is useful to help track down problems
like the file offsets overflowing 32-bits.