Fix PE-COFF archiving long name tables
commit43f39bc364cca8f2e2dd88d42b35e188016ff4ab
authorDoug Semler <dougsemler@gmail.com>
Wed, 14 Apr 2010 13:22:58 +0000 (14 09:22 -0400)
committerDoug Semler <dougsemler@gmail.com>
Thu, 6 May 2010 02:12:25 +0000 (5 22:12 -0400)
tree6f9361698e42cb494227254c4fad1ea30f5f2977
parentb89bdf9682b76c803d2d5781238e1ccaf032d25a
Fix PE-COFF archiving long name tables

Fixes the PE-COFF archive long name tables by creating a new set of
functions in the bfd library and using those functions when building
PE-COFF archives.  By default, the PE-COFF archive functions are defined
to be the normal COFF archive functions.

* libbfd-in.h: Declare _bfd_archive_pecoff* functions.
* libbfd.h: Regenerate.
* archive.c (_bfd_archive_pecoff_construct_extended_name_table):
  New.
* coff-i386.c: Use PE-COFF archive functions when COFF_WITH_PE.
* coff-ia64.c: Likewise.
* coff-ppc.c: Likewise.
* coff-sh.c: Likewise.
* coff-x86_64.c: Likewise.
* coffcode.h: Likewise.
* pe-mips.c: Likewise.
bfd/archive.c
bfd/coff-i386.c
bfd/coff-ia64.c
bfd/coff-ppc.c
bfd/coff-sh.c
bfd/coff-x86_64.c
bfd/coffcode.h
bfd/libbfd-in.h
bfd/libbfd.h
bfd/pe-mips.c